Fields inherited from class | Fields |
---|---|
class SimpleForm |
DEFAULT_COMPONENT_COLUMN, DEFAULT_LABEL_COLUMN, HINT_TEXT_COLOR, LONG_TEXT_FIELD_COLUMNS, MEDIUM_TEXT_FIELD_COLUMNS, SHORT_TEXT_FIELD_COLUMNS |
Constructor and description |
---|
SimpleBindingForm
(PresentationModel<?> pm) |
SimpleBindingForm
(PresentationModel<?> pm, java.lang.String columnSpecs) |
SimpleBindingForm
(PresentationModel<?> pm, java.lang.String columnSpecs, javax.swing.border.Border border) |
Type Params | Return Type | Name and description |
---|---|---|
|
javax.swing.JCheckBox |
appendCheckBox(java.lang.String propertyName, java.lang.String label, java.lang.String tooltip) |
|
javax.swing.JComboBox |
appendComboBox(java.lang.String propertyName, java.lang.String label, java.lang.Object[] values, java.lang.String tooltip) |
|
javax.swing.JComboBox |
appendComboBox(java.lang.String label, javax.swing.ComboBoxModel model, java.lang.String tooltip, ValueModel valueModel) |
|
javax.swing.JComboBox |
appendComboBox(java.lang.String propertyName, java.lang.String label, javax.swing.ComboBoxModel model, java.lang.String tooltip) |
|
void |
appendComponent(java.lang.String propertyName, java.lang.String label, javax.swing.JComponent component) |
|
void |
appendComponentsInOneRow(PropertyComponent propertyComponents) |
|
javax.swing.JLabel |
appendLabel(java.lang.String propertyName, java.lang.String label) |
|
javax.swing.JPasswordField |
appendPasswordField(java.lang.String propertyName, java.lang.String label, java.lang.String tooltip) |
|
javax.swing.JTextArea |
appendTextArea(java.lang.String propertyName, java.lang.String label, java.lang.String tooltip) |
|
javax.swing.JTextField |
appendTextField(java.lang.String propertyName, java.lang.String label, java.lang.String tooltip) Appends a label and a text field to the form |
|
javax.swing.JTextField |
appendTextField(java.lang.String propertyName, java.lang.String label, java.lang.String tooltip, int textFieldColumns) Appends a label and a text field to the form |
|
PresentationModel<?> |
getPresentationModel() |
|
void |
setComboBoxItems(java.lang.String propertyName, javax.swing.JComboBox comboBox, java.lang.String[] values) |
Appends a label and a text field to the form
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 tipAppends a label and a text field to the form
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 tiptextFieldColumns
- The number of columns to display for the text field. Should be a constant defined in SimpleForm