public class MiscPanel extends Object
| Constructor and Description |
|---|
MiscPanel(PreferencesModel model) |
| Modifier and Type | Method and Description |
|---|---|
JPanel |
createPanel() |
static JTextField |
createTextField(com.jgoodies.binding.value.ValueModel valueModel)
Creates and returns a text field with the content bound to the given ValueModel.
|
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.
|
public MiscPanel(PreferencesModel model)
public JPanel createPanel()
public static JTextField createTextField(com.jgoodies.binding.value.ValueModel valueModel)
valueModel - the model that provides the valueNullPointerException - if the valueModel is nullcreateTextField(ValueModel, boolean)public static JTextField createTextField(com.jgoodies.binding.value.ValueModel valueModel, boolean commitOnFocusLost)
valueModel - the model that provides the text valuecommitOnFocusLost - true to commit text changes on focus lost, false to commit text changes on every character typedNullPointerException - if the valueModel is nullcreateTextField(ValueModel)Copyright © 2022. All rights reserved.