Class MiscPanel
- java.lang.Object
-
- org.bidib.wizard.spy.preferences.view.MiscPanel
-
public class MiscPanel extends Object
-
-
Constructor Summary
Constructors Constructor Description MiscPanel(PreferencesModel model)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JPanelcreatePanel()static JTextFieldcreateTextField(com.jgoodies.binding.value.ValueModel valueModel)Creates and returns a text field with the content bound to the given ValueModel.static JTextFieldcreateTextField(com.jgoodies.binding.value.ValueModel valueModel, boolean commitOnFocusLost)Creates and returns a text field with the content bound to the given ValueModel.
-
-
-
Constructor Detail
-
MiscPanel
public MiscPanel(PreferencesModel model)
-
-
Method Detail
-
createPanel
public JPanel createPanel()
-
createTextField
public static JTextField createTextField(com.jgoodies.binding.value.ValueModel valueModel)
Creates and returns a text field with the content bound to the given ValueModel. Text changes are committed to the model on focus lost.- Parameters:
valueModel- the model that provides the value- Returns:
- a text field that is bound to the given value model
- Throws:
NullPointerException- if the valueModel isnull- See Also:
createTextField(ValueModel, boolean)
-
createTextField
public static JTextField createTextField(com.jgoodies.binding.value.ValueModel valueModel, boolean commitOnFocusLost)
Creates and returns a text field with the content bound to the given ValueModel. Text changes can be committed to the model on focus lost or on every character typed.- Parameters:
valueModel- the model that provides the text valuecommitOnFocusLost- true to commit text changes on focus lost, false to commit text changes on every character typed- Returns:
- a text field that is bound to the given value model
- Throws:
NullPointerException- if the valueModel isnull- See Also:
createTextField(ValueModel)
-
-