Method Summary |
|
public static JCheckBox | createCheckBox(ValueModel valueModel, String text) Creates and returns a check box with the specified text label
that is bound to the given ValueModel. |
public static JColorChooser | createColorChooser(ValueModel valueModel) Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel. |
public static JColorChooser | createColorChooser(ValueModel valueModel, Color defaultColor) Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel. |
public static JComboBox | createComboBox(SelectionInList<E> selectionInList) Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList. |
public static JComboBox | createComboBox(SelectionInList<E> selectionInList, ListCellRenderer cellRenderer) Creates and returns a non-editable JComboBox that is bound
to the given SelectionInList using the given cell renderer. |
public static JFormattedTextField | createDateField(ValueModel valueModel) Creates and returns a formatted text field that is bound
to the Date value of the given ValueModel.
The JFormattedTextField is configured with an AbstractFormatter
that uses two different DateFormats to edit and display the Date.
A SHORT DateFormat with strict checking is used to edit
(parse) a date; the DateFormatter's default DateFormat is used to
display (format) a date. |
public static JFormattedTextField | createFormattedTextField(ValueModel valueModel, Format format) Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Format. |
public static JFormattedTextField | createFormattedTextField(ValueModel valueModel, JFormattedTextField.AbstractFormatter formatter) Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Formatter. |
public static JFormattedTextField | createFormattedTextField(ValueModel valueModel, JFormattedTextField.AbstractFormatterFactory formatterFactory) Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
Formatters provided by the given AbstractFormatterFactory. |
public static JFormattedTextField | createFormattedTextField(ValueModel valueModel, String mask) Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
a MaskFormatter that is based on the given mask. |
public static JFormattedTextField | createIntegerField(ValueModel valueModel) Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel. |
public static JFormattedTextField | createIntegerField(ValueModel valueModel, int emptyNumber) Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel. |
public static JFormattedTextField | createIntegerField(ValueModel valueModel, NumberFormat numberFormat) Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel. |
public static JFormattedTextField | createIntegerField(ValueModel valueModel, NumberFormat numberFormat, int emptyNumber) Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel. |
public static JFormattedTextField | createIntegerField(ValueModel valueModel, NumberFormat numberFormat, Integer emptyNumber) Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel. |
public static JLabel | createLabel(ValueModel valueModel) Creates and returns a text label that is bound to the given ValueModel. |
public static JLabel | createLabel(ValueModel valueModel, Format format) Creates and returns a text label that is bound to the
given ValueModel that is wrapped by a StringConverter . |
public static JList | createList(SelectionInList<E> selectionInList) Creates and returns a JList for the given SelectionInList.
If the selectionInList's selection holder is a
ComponentValueModel it is synchronized with the visible and enabled state of the returned
list. |
public static JList | createList(SelectionInList<E> selectionInList, ListCellRenderer cellRenderer) Creates and returns a JList for the given SelectionInList using
the specified optional ListCellRenderer to render cells.
If the selectionInList's selection holder is a
ComponentValueModel it is synchronized with the visible and enabled state of the returned
list. |
public static JFormattedTextField | createLongField(ValueModel valueModel) Creates and returns a formatted text field that is bound
to the Long value of the given ValueModel. |
public static JFormattedTextField | createLongField(ValueModel valueModel, long emptyNumber) Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. |
public static JFormattedTextField | createLongField(ValueModel valueModel, NumberFormat numberFormat) Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. |
public static JFormattedTextField | createLongField(ValueModel valueModel, NumberFormat numberFormat, long emptyNumber) Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. |
public static JFormattedTextField | createLongField(ValueModel valueModel, NumberFormat numberFormat, Long emptyNumber) Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel. |
public static JPasswordField | createPasswordField(ValueModel valueModel) Creates and returns a JPasswordField with the content bound
to the given ValueModel. |
public static JPasswordField | createPasswordField(ValueModel valueModel, boolean commitOnFocusLost) Creates and returns a JPasswordField with the content bound
to the given ValueModel. |
public static JRadioButton | createRadioButton(ValueModel model, Object choice, String text) Creates and returns a radio button with the specified text label
that is bound to the given ValueModel. |
public static JTextArea | createTextArea(ValueModel valueModel) Creates and returns a text area with the content bound to the given
ValueModel. |
public static JTextArea | createTextArea(ValueModel valueModel, boolean commitOnFocusLost) Creates and returns a text area with the content bound to the given
ValueModel. |
public static JTextField | createTextField(ValueModel valueModel) Creates and returns a text field with the content bound
to the given ValueModel. |
public static JTextField | createTextField(ValueModel valueModel, boolean commitOnFocusLost) Creates and returns a text field with the content bound
to the given ValueModel. |