Package de.yaams.maker.helper.gui.form

Examples of de.yaams.maker.helper.gui.form.FormCheckbox.informListeners()


    form.addElement("cond.turn_a", c);
    form.addElement("cond.turn_turn_a",
        FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("", condition, "@turn_a"), "true"));
    form.addElement("cond.turn_turn_b",
        FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("+ X*", condition, "@turn_b"), "true"));
    c.informListeners();

    // add enemy
    c = RubyForm.getBoolean(I18N.t(RGSS1Helper.getName(Type.ENEMY)), condition, "@enemy_valid");
    form.addElement("cond.enemy_a", c);
    form.addElement("cond.enemy_def", FormHelper.setEnabeldWhenRightElementSelect(c, RubyForm.getNumber("", condition, "@enemy_index")
View Full Code Here


        .setMinMax(1, 8, 1), "true"));
    form.addElement(
        "cond.enemy_hp",
        FormHelper.setEnabeldWhenRightElementSelect(c,
            RubyForm.getNumber("Hp is or below (%):", condition, "@enemy_hp").setMinMax(0, 100, 1), "true"));
    c.informListeners();

    // add actor
    c = RubyForm.getBoolean(RGSS1Helper.getName(Type.ACTOR), condition, "@actor_valid");
    form.addElement("cond.actor_a", c);
    form.addElement("cond.actor_def", FormHelper.setEnabeldWhenRightElementSelect(c, new FormDBComboBox("", project, Type.ACTOR,
View Full Code Here

        condition, "@actor_id", true), "true"));
    form.addElement(
        "cond.actor_hp",
        FormHelper.setEnabeldWhenRightElementSelect(c,
            RubyForm.getNumber("Hp is or below (%):", condition, "@actor_hp").setMinMax(0, 100, 1), "true"));
    c.informListeners();

    // add actor
    c = RubyForm.getBoolean(RGSS1Helper.getName(Type.SWITCH), condition, "@switch_valid");
    form.addElement("cond.switch_a", c);
    form.addElement("cond.switch_id", FormHelper.setEnabeldWhenRightElementSelect(c, new FormSwitchVarSelector(project,
View Full Code Here

    c = RubyForm.getBoolean(RGSS1Helper.getName(Type.SWITCH), condition, "@switch_valid");
    form.addElement("cond.switch_a", c);
    form.addElement("cond.switch_id", FormHelper.setEnabeldWhenRightElementSelect(c, new FormSwitchVarSelector(project,
        I18N.t("Is on"), condition, "@switch_id", Type.SWITCH), "true"));
    form.addElement("cond.switch_id2", new FormEmpty());
    c.informListeners();

    // add code
    form.setCenter(new YEventCommandList(page.getInstanceVariable("@list"), project, null));
  }
View Full Code Here

        "cond.ls2",
        FormHelper.setEnabeldWhenRightElementSelect(
            v,
            RubyForm.getComboBox("", new String[] { "A", "B", "C", "D" }, new String[] { "A", "B", "C", "D" },
                cond.getInstanceVariable("@self_switch_ch")), "true"));
    v.informListeners();

    // add switch 1
    v = RubyForm.getBoolean("Switch 1", cond, "@switch1_valid");
    form.addElement("cond.s1", v);
    form.addElement("cond.s12", FormHelper.setEnabeldWhenRightElementSelect(v, new FormSwitchVarSelector(project, "", cond,
View Full Code Here

    // add switch 1
    v = RubyForm.getBoolean("Switch 1", cond, "@switch1_valid");
    form.addElement("cond.s1", v);
    form.addElement("cond.s12", FormHelper.setEnabeldWhenRightElementSelect(v, new FormSwitchVarSelector(project, "", cond,
        "@switch1_id", Type.SWITCH), "true"));
    v.informListeners();

    // add switch 2
    v = RubyForm.getBoolean("Switch 2", cond, "@switch2_valid");
    form.addElement("cond.s2", new FormEmpty());
    form.addElement("cond.s23", new FormEmpty());
View Full Code Here

    form.addElement("cond.s2", new FormEmpty());
    form.addElement("cond.s23", new FormEmpty());
    form.addElement("cond.s24", v);
    form.addElement("cond.s25", FormHelper.setEnabeldWhenRightElementSelect(v, new FormSwitchVarSelector(project, "", cond,
        "@switch2_id", Type.SWITCH), "true"));
    v.informListeners();

    // add variable
    v = RubyForm.getBoolean("Variable", cond, "@variable_valid");
    form.addElement("cond.v3", v);
    form.addElement("cond.v4", FormHelper.setEnabeldWhenRightElementSelect(v, new FormSwitchVarSelector(project, "", cond,
View Full Code Here

    form.addElement("cond.v3", v);
    form.addElement("cond.v4", FormHelper.setEnabeldWhenRightElementSelect(v, new FormSwitchVarSelector(project, "", cond,
        "@variable_id", Type.VARIABLE), "true"));
    form.addElement("cond.v5",
        FormHelper.setEnabeldWhenRightElementSelect(v, RubyForm.getNumber(">=", cond, "@variable_value"), "true"));
    v.informListeners();

    // graphic
    RubyObject graph = (RubyObject) page.getInstanceVariable("@graphic");

    form.addHeader("graphic", new FormHeader(I18N.t("Graphic"), "graphic").setColumn(4).setCollapsed(true));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.