C
- JTextField
typeV
- TextComponentState
typepublic class TextFieldSettingsProcessor<C extends JTextField,V extends TextComponentState> extends TextComponentSettingsProcessor<C,V>
TextComponentSettingsProcessor
implementation that handles JTextField
settings.UISettingsManager
,
SettingsManager
,
TextComponentSettingsProcessor
,
SettingsProcessor
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected ActionListener |
actionListener
ActionListener for tracking field editing completion. |
focusListener
component, configuration, loading, saving
Constructor and Description |
---|
TextFieldSettingsProcessor(C textField,
Configuration<V> configuration)
Constructs new
TextFieldSettingsProcessor . |
Modifier and Type | Method and Description |
---|---|
protected void |
register(C textField)
Called when
JComponent is registered in UISettingsManager and this SettingsProcessor is attached to it. |
protected void |
unregister(C textField)
Called when
JComponent is unregistered from UISettingsManager and this SettingsProcessor is detached from it. |
createDefaultValue, loadSettings, saveSettings, stateFor
component, configuration, defaultValue, destroy, initialize, load, loadInitialSettings, loadSettings, save, save, saveSettings
protected transient ActionListener actionListener
ActionListener
for tracking field editing completion.public TextFieldSettingsProcessor(C textField, Configuration<V> configuration)
TextFieldSettingsProcessor
.textField
- JTextField
which settings are being managedconfiguration
- Configuration
protected void register(@NotNull C textField)
SettingsProcessor
JComponent
is registered in UISettingsManager
and this SettingsProcessor
is attached to it.register
in class TextComponentSettingsProcessor<C extends JTextField,V extends TextComponentState>
textField
- JComponent
to register this SettingsProcessor
forprotected void unregister(@NotNull C textField)
SettingsProcessor
JComponent
is unregistered from UISettingsManager
and this SettingsProcessor
is detached from it.unregister
in class TextComponentSettingsProcessor<C extends JTextField,V extends TextComponentState>
textField
- JComponent
to unregister this SettingsProcessor
forCopyright © 2020. All rights reserved.