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

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


  public static Component addFeedback() {

    final HashMap<String, String> data = new HashMap<String, String>();
    // build form
    final FormBuilder f = new FormBuilder("feedback");
    f.addHeader("basic", new FormHeader(I18N.t("Basics"), "info").setColumn(4));
    f.addElement("basic.atitle", createField(data, I18N.t("Titel"), "", "title"));
    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,
View Full Code Here


    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"));
    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
          protected Component getComponent(Project p) {
            FormBuilder form = new FormBuilder("game.graph");

            // add it
            form.addHeader("basic", new FormHeader(I18N.t("Basics"), "graphic"));
            form.addElement("basic.window", new FormGraphEle(I18N.t("Windowskin"), project, RTP.WINDOWSKIN, system,
                "@windowskin_name", null));

            // title screen
            form.addHeader("title", new FormHeader(I18N.t("Title"), "graphic"));
View Full Code Here

            form.addHeader("basic", new FormHeader(I18N.t("Basics"), "graphic"));
            form.addElement("basic.window", new FormGraphEle(I18N.t("Windowskin"), project, RTP.WINDOWSKIN, system,
                "@windowskin_name", null));

            // title screen
            form.addHeader("title", new FormHeader(I18N.t("Title"), "graphic"));
            form.addElement("title.graph", new FormGraphEle(I18N.t("Graphic"), project, RTP.TITLE, system, "@title_name", null));
            form.addElement("title.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.BGM, system.getInstanceVariable("@title_bgm")));

            // game over screen
View Full Code Here

            form.addElement("title.graph", new FormGraphEle(I18N.t("Graphic"), project, RTP.TITLE, system, "@title_name", null));
            form.addElement("title.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.BGM, system.getInstanceVariable("@title_bgm")));

            // game over screen
            form.addHeader("gameover", new FormHeader(I18N.t("Game Over"), "graphic"));
            form.addElement("gameover.graph", new FormGraphEle(I18N.t("Graphic"), project, RTP.GAMEOVER, system,
                "@gameover_name", null));
            form.addElement("gameover.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.ME, system.getInstanceVariable("@gameover_me")));
View Full Code Here

                "@gameover_name", null));
            form.addElement("gameover.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.ME, system.getInstanceVariable("@gameover_me")));

            // battle screen
            form.addHeader("battle", new FormHeader(I18N.t("Battle"), "weapon"));
            form.addElement("battle.trans", new FormGraphEle(I18N.t("Transition"), project, RTP.TRANSITION, system,
                "@battle_transition", null));
            form.addElement("battle.mus",
                new FormMusicEle(I18N.t("Music"), project, RTP.BGM, system.getInstanceVariable("@battle_bgm")));
            form.addElement("battle.start",
View Full Code Here

                new FormMusicEle(I18N.t("Actor die"), project, RTP.SE, system.getInstanceVariable("@actor_collapse_se")));
            form.addElement("battle.edie",
                new FormMusicEle(I18N.t("Enemy die"), project, RTP.SE, system.getInstanceVariable("@enemy_collapse_se")));

            // another soundeffects
            form.addHeader("sound", new FormHeader(I18N.t("Sound effects"), "audio"));
            form.addElement("sound.dec",
                new FormMusicEle(I18N.t("Decision"), project, RTP.SE, system.getInstanceVariable("@decision_se")));
            form.addElement("sound.can",
                new FormMusicEle(I18N.t("Cancel"), project, RTP.SE, system.getInstanceVariable("@cancel_se")));
            form.addElement("sound.buzz",
View Full Code Here

      @Override
      public void work(HashMap<String, Object> objects) {
        FormBuilder f = (FormBuilder) objects.get("form");

        // add it
        f.addHeader("substance", new FormHeader(I18N.t("Look and Feel"), "substance").setColumn(4));

        FormComboBox c = YSettingHelper.combo(null, I18N.t("Look"), "substance", "0", className, classTitle);

        c.selectField(Setting.get("substance", "0"));
        c.addChangeListener(new FormElementChangeListener() {
View Full Code Here

      @Override
      public void work(HashMap<String, Object> objects) {
        final FormBuilder f = (FormBuilder) objects.get("form");

        // add rtp
        f.addHeader("rtp", new FormHeader(I18N.t("RTP"), "rtp").setColumn(4));

        // add buttons
        for (int i = 0, l = id.length; i < l; i++) {
          boolean e = isRTPinstalled(id[i], rgss[i]) != null;
          final String key = "rtp." + rgss[i] + "_" + id[i];
View Full Code Here

              }
            }).setSorting(2));

            // add party
            form.addHeader("party", new FormHeader(I18N.t("Party"), "hero"));
            form.addElement("party.hero", new FormDBList(project, Type.ACTOR, system.getInstanceVariable("@party_members"),
                I18N.t("Wähle die Helden für die Party aus")));
            // add map
            form.addElement(
                "party.pos",
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.