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

Examples of de.yaams.maker.helper.gui.form.core.FormBuilder.addElement()


    f.addElement("basic.bname", createField(data, I18N.t("Name"), SystemUtils.USER_NAME, "user"));
    f.addElement(
        "basic.system",
        createField(data, I18N.t("System"), I18N.t("{0} ({1}) {2} - {3} ({4}) {5}", SystemUtils.OS_NAME, SystemUtils.OS_VERSION,
            SystemUtils.OS_ARCH, SystemUtils.JAVA_RUNTIME_NAME, SystemUtils.JAVA_VERSION, SystemUtils.JAVA_VM_INFO), "system"));
    f.addElement(
        "basic.contact",
        createField(data, I18N.t("Kontakt"), "", "contact").setInfoTxt(
            I18N.t("Wie ICQ/E-Mail, nur wichtig, wenn du eine Antwort wünschst.")));

    f.addHeader("mess", new FormHeader(I18N.t("Nachricht"), "mail"));
View Full Code Here


        "basic.contact",
        createField(data, I18N.t("Kontakt"), "", "contact").setInfoTxt(
            I18N.t("Wie ICQ/E-Mail, nur wichtig, wenn du eine Antwort wünschst.")));

    f.addHeader("mess", new FormHeader(I18N.t("Nachricht"), "mail"));
    f.addElement("mess.mess", new FormTextArea("", "") {

      @Override
      protected JComponent getInternElement() {
        return YFactory.createOverlayTextArea(area, I18N.t("Schreibe die Nachricht hier ein."));
      }
View Full Code Here

      @Override
      public void run() {
        FormBuilder form = new FormBuilder("rgssproject.edit.tileset");

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
View Full Code Here

      @Override
      public void run() {
        FormBuilder form = new FormBuilder("rgssproject.edit.tileset");

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
View Full Code Here

      public void run() {
        FormBuilder form = new FormBuilder("rgssproject.edit.tileset");

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));
View Full Code Here

        FormBuilder form = new FormBuilder("rgssproject.edit.tileset");

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));
View Full Code Here

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));

        YDialog.showForm(I18N.t("Editiere Tileset ID {0}x{1}", id % 8 + 1, (id - 384) / 8 + 1), "tileset_opts", form);
View Full Code Here

        form.addElement("basic.terrain", new FormTable(I18N.t("Terrain"), terrain_tags, id, 0).setMinMax(0, 7, 1));
        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));

        YDialog.showForm(I18N.t("Editiere Tileset ID {0}x{1}", id % 8 + 1, (id - 384) / 8 + 1), "tileset_opts", form);
View Full Code Here

        form.addElement("basic.priorities", new FormTable(I18N.t("Priorität"), priorities, id, 0).setMinMax(0, 5, 1));
        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));

        YDialog.showForm(I18N.t("Editiere Tileset ID {0}x{1}", id % 8 + 1, (id - 384) / 8 + 1), "tileset_opts", form);

      }
View Full Code Here

        form.addElement("basic.bush", RubyForm.getBooleanFlag(I18N.t("Buschflag"), passages, id, 0x40));
        form.addElement("basic.counter", RubyForm.getBooleanFlag(I18N.t("Counter"), passages, id, 0x80));
        form.addElement("basic.moveup", RubyForm.getBooleanFlag(I18N.t("Kann nicht hoch laufen"), passages, id, 0x08));
        form.addElement("basic.moveleft", RubyForm.getBooleanFlag(I18N.t("Kann nicht links laufen"), passages, id, 0x02));
        form.addElement("basic.moveright", RubyForm.getBooleanFlag(I18N.t("Kann nicht rechts laufen"), passages, id, 0x04));
        form.addElement("basic.movedown", RubyForm.getBooleanFlag(I18N.t("Kann nicht runter laufen"), passages, id, 0x01));

        YDialog.showForm(I18N.t("Editiere Tileset ID {0}x{1}", id % 8 + 1, (id - 384) / 8 + 1), "tileset_opts", form);

      }
    }, 32);
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.