Examples of FormLayout


Examples of com.jgoodies.forms.layout.FormLayout

    UiUtilities.registerForClosing(this);
    mResult = CANCEL;
    mHandler = handler;

    JPanel panel = (JPanel) getContentPane();
    panel.setLayout(new FormLayout("fill:default:grow", "fill:pref:grow, 3dlu, bottom:pref"));
    panel.setBorder(Borders.DLU4_BORDER);

    switchToStep(step);
  }
View Full Code Here

Examples of com.jgoodies.forms.layout.FormLayout

    mNextBtn = new JButton(Localizer.getLocalization(Localizer.I18N_NEXT) + " >>");
    mNextBtn.setEnabled(false);
    mBackBtn = new JButton("<< " + Localizer.getLocalization(Localizer.I18N_BACK));
    mBackBtn.setEnabled(false);

    JPanel panel = new JPanel(new FormLayout("fill:pref:grow, pref, 3dlu, pref", "pref"));
    CellConstraints cc = new CellConstraints();
   
    if (!mStep.isSingleStep()) {
      FormLayout layout = new FormLayout("pref, 3dlu, pref", "pref");
      layout.setColumnGroups(new int[][] { { 1, 3 } });
      JPanel nextpanel = new JPanel(layout);
      nextpanel.add(mBackBtn, cc.xy(1,1));
      nextpanel.add(mNextBtn, cc.xy(3,1));
      panel.add(nextpanel, cc.xy(2, 1));
    }
View Full Code Here

Examples of com.jgoodies.forms.layout.FormLayout

  /**
   * Creates the settings panel for this tab.
   */
  public JPanel createSettingsPanel() {
    mSettingsPn = new JPanel(new FormLayout("5dlu, pref, 3dlu, default, fill:3dlu:grow, 3dlu",
        "pref, 5dlu, pref, 10dlu, pref, 5dlu, pref, 10dlu, pref, 5dlu, pref, 2dlu, pref, fill:3dlu:grow, pref"));
    mSettingsPn.setBorder(Borders.DIALOG_BORDER);

    CellConstraints cc = new CellConstraints();

View Full Code Here

Examples of com.vaadin.ui.FormLayout

        row.addComponent(date);

        PropertysetItem item = new PropertysetItem();
        item.addItemProperty("date", new ObjectProperty<Date>(getDefaultDate()));

        FormLayout form = new FormLayout();
        form.setMargin(false);

        FieldGroup binder = new FieldGroup(item);
        form.addComponent(binder.buildAndBind(
                "Picker in read-only field group", "date"));
        binder.setReadOnly(true);

        row.addComponent(form);
    }
View Full Code Here

Examples of de.mhus.lib.form.annotations.FormLayout

    loadFromTarget();
   
  }

  private void parseLayout() throws ParserConfigurationException, SAXException, IOException {
    FormLayout layout = getTarget().getClass().getAnnotation(FormLayout.class);
    if (layout != null) {
      String xml = layout.value();
      if (!xml.startsWith("<"))
        xml = "<layout " + xml + "/>";
     
      elementHandler.setBaseElement(doc, root);
      parser.parse(new ByteArrayInputStream(xml.getBytes()), elementHandler);
View Full Code Here

Examples of jriaffe.client.ui.components.FormLayout

    private boolean isModify;
    JTextComponent jText;

    DictionaryEditDialog(JTextComponent jText) {
        this.jText = jText;
        setLayout(new FormLayout(1));

        DefaultListModel data = new DefaultListModel();
        loadWordList(data);
        list = new JList(data);
        addZone(FormLayoutConstraints.Zone.WEST, list);
View Full Code Here

Examples of org.eclipse.swt.layout.FormLayout

 
  protected void
  build(
    Composite    parent )
  {
    parent.setLayout(new FormLayout());
       
    Button cancel_button = new Button( parent, SWT.NULL );

    cancel_button.setText( "Cancel" );
   
View Full Code Here

Examples of org.gwt.mosaic.forms.client.layout.FormLayout

   * FormLayout as layout manager.
   *
   * @param panel the layout container
   */
  public ButtonStackBuilder(LayoutPanel panel) {
    this(new FormLayout(COL_SPECS, ROW_SPECS), panel);
  }
View Full Code Here

Examples of org.jboss.as.console.client.layout.FormLayout

                        return address;
                    }
                }, form);


        FormLayout formLayout = new FormLayout()
                .setForm(form)
                .setHelp(helpPanel);

        if(!isCreate)
        {
            FormToolStrip<ClusterConnection> formTools = new FormToolStrip<ClusterConnection>(form, callback);
            formLayout.setTools(formTools);
        }

        return formLayout.build();
    }
View Full Code Here

Examples of org.jboss.as.console.client.shared.viewframework.builder.FormLayout

                address.add("mail-session", "*");
                return address;
            }
        }, form);

        Widget detail = new FormLayout()
                .setForm(form)
                .setHelp(helpPanel).build();


        FormToolStrip<MailSession> formToolStrip = new FormToolStrip<MailSession>(
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.