public class SimpleBindingForm extends SimpleForm
DEFAULT_COMPONENT_ALIGNMENT, DEFAULT_COMPONENT_COLUMN, DEFAULT_LABEL_COLUMN, DEFAULT_TEXT_FIELD_COLUMNS, ENABLED_PROPERTY_NAME, HINT_TEXT_COLOR, LONG_TEXT_FIELD_COLUMNS, MEDIUM_TEXT_FIELD_COLUMNS, SHORT_TEXT_FIELD_COLUMNS| Constructor and Description | 
|---|
| SimpleBindingForm(com.jgoodies.binding.PresentationModel<?> pm) | 
| SimpleBindingForm(com.jgoodies.binding.PresentationModel<?> pm,
                 String columnSpecs) | 
| SimpleBindingForm(com.jgoodies.binding.PresentationModel<?> pm,
                 String columnSpecs,
                 Border border) | 
| Modifier and Type | Method and Description | 
|---|---|
| JCheckBox | appendCheckBox(String propertyName,
              String label,
              String tooltip) | 
| JComboBox | appendComboBox(String label,
              ComboBoxModel model,
              String tooltip,
              com.jgoodies.binding.value.ValueModel valueModel) | 
| JComboBox | appendComboBox(String propertyName,
              String label,
              ComboBoxModel model,
              String tooltip) | 
| JComboBox | appendComboBox(String propertyName,
              String label,
              Object[] values,
              String tooltip) | 
| void | appendComponent(String propertyName,
               String label,
               JComponent component) | 
| void | appendComponentsInOneRow(PropertyComponent... propertyComponents) | 
| JLabel | appendLabel(String propertyName,
           String label) | 
| JPasswordField | appendPasswordField(String propertyName,
                   String label,
                   String tooltip) | 
| JTextArea | appendTextArea(String propertyName,
              String label,
              String tooltip) | 
| JTextField | appendTextField(String propertyName,
               String label,
               String tooltip)Appends a label and a text field to the form | 
| JTextField | appendTextField(String propertyName,
               String label,
               String tooltip,
               int textFieldColumns)Appends a label and a text field to the form | 
| com.jgoodies.binding.PresentationModel<?> | getPresentationModel() | 
| void | setComboBoxItems(String propertyName,
                JComboBox comboBox,
                String[] values) | 
addButtonWithoutLabelToTheRight, addComponent, addComponentWithoutLabel, addHiddenValue, addInputFieldHintText, addLeftComponent, addRightButton, addRightComponent, addSpace, addSpace, append, append, append, append, appendButton, appendButtonWithoutLabel, appendCheckBox, appendComboBox, appendComboBox, appendComboBox, appendFixed, appendHeading, appendHeadingAndHelpButton, appendInOneRow, appendLabelAsLink, appendPasswordField, appendRadioButton, appendSeparator, appendTextArea, appendTextField, getComponent, getComponentValue, getDefaultTextAreaColumns, getDefaultTextAreaRows, getLabelFont, getPanel, getRowAlignment, getRowCount, getRowSpacing, getValues, hasComponents, removeComponent, setBorder, setComponentValue, setDefaultTextAreaColumns, setDefaultTextAreaRows, setDefaultTextFieldColumns, setEnabled, setLabelFont, setRowAlignment, setRowAlignment, setRowSpacing, setValuespublic SimpleBindingForm(com.jgoodies.binding.PresentationModel<?> pm)
public SimpleBindingForm(com.jgoodies.binding.PresentationModel<?> pm,
                         String columnSpecs)
public com.jgoodies.binding.PresentationModel<?> getPresentationModel()
public JComboBox appendComboBox(String propertyName, String label, Object[] values, String tooltip)
public JComboBox appendComboBox(String label, ComboBoxModel model, String tooltip, com.jgoodies.binding.value.ValueModel valueModel)
public JComboBox appendComboBox(String propertyName, String label, ComboBoxModel model, String tooltip)
public void setComboBoxItems(String propertyName, JComboBox comboBox, String[] values)
public JPasswordField appendPasswordField(String propertyName, String label, String tooltip)
public JTextField appendTextField(String propertyName, String label, String tooltip)
propertyName - The name of the property the field should be bound to. Will also be the name of the text field.label - The value of the labeltooltip - The value of the text field tool tippublic JTextField appendTextField(String propertyName, String label, String tooltip, int textFieldColumns)
appendTextField in class SimpleFormpropertyName - The name of the property the field should be bound to. Will also be the name of the text field.label - The value of the labeltooltip - The value of the text field tool tiptextFieldColumns - The number of columns to display for the text field. Should be a constant defined in SimpleFormSimpleFormpublic void appendComponentsInOneRow(PropertyComponent... propertyComponents)
public void appendComponent(String propertyName, String label, JComponent component)
Copyright © 2019. All Rights Reserved.