Examples of FormTextField


Examples of de.yaams.maker.helper.gui.form.FormTextField

    }

    // build form
    final FormBuilder f = new FormBuilder("preview.graphic");
    f.addHeader("basic", new FormHeader("", null));
    f.addElement("basic.path", new FormTextField(I18N.t("Pfad"), file.getAbsolutePath()));
    f.addElement(
        "basic.size",
        new FormTextField(I18N.t("Größe"), I18N.t("{0}x{1}x{2}", image.getWidth(), image.getHeight(), image.getImage()
            .getAccelerationPriority())));

    YDialog.showForm(file.getName(), "graphic_info", f);
  }
View Full Code Here

Examples of de.yaams.maker.helper.gui.form.FormTextField

   * @param key
   */
  private void addFormData(FormBuilder f, String key, String title, String key2) {
    final String key3 = key + "." + key2;
    f.addElement("basic." + key2,
        new FormTextField(title, data.containsKey(key3) ? data.get(key3) : "").addChangeListener(new FormElementChangeListener() {

          @Override
          public void stateChanged(FormElement form) {
            data.put(key3, form.getContentAsString());
            getSelectedObject().getData().put("isModified", 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.