|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.settings.SettingsProcessor<javax.swing.JComboBox,java.lang.Integer> com.alee.managers.settings.processors.JComboBoxSettingsProcessor
public class JComboBoxSettingsProcessor
Custom SettingsProcessor for JComboBox component.
SettingsManager
,
SettingsProcessor
Field Summary |
---|
Fields inherited from class com.alee.managers.settings.SettingsProcessor |
---|
data, loading, saving |
Constructor Summary | |
---|---|
JComboBoxSettingsProcessor(SettingsProcessorData data)
Constructs SettingsProcessor using the specified SettingsProcessorData. |
Method Summary | |
---|---|
protected void |
doDestroy(javax.swing.JComboBox comboBox)
Called when component is unregistered from ComponentSettingsManager. |
protected void |
doInit(javax.swing.JComboBox comboBox)
Called when a new component is registered in ComponentSettingsManager. |
protected void |
doLoad(javax.swing.JComboBox comboBox)
Called on component settings load. |
protected void |
doSave(javax.swing.JComboBox comboBox)
Called on component settings save. |
java.lang.Integer |
getDefaultValue()
Returns component default value. |
Methods inherited from class com.alee.managers.settings.SettingsProcessor |
---|
destroy, getComponent, getData, getGroup, getKey, load, loadValue, save, save, saveValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JComboBoxSettingsProcessor(SettingsProcessorData data)
data
- SettingsProcessorDataMethod Detail |
---|
public java.lang.Integer getDefaultValue()
getDefaultValue
in class SettingsProcessor<javax.swing.JComboBox,java.lang.Integer>
protected void doInit(javax.swing.JComboBox comboBox)
doInit
in class SettingsProcessor<javax.swing.JComboBox,java.lang.Integer>
comboBox
- registered componentprotected void doDestroy(javax.swing.JComboBox comboBox)
doDestroy
in class SettingsProcessor<javax.swing.JComboBox,java.lang.Integer>
comboBox
- unregistered componentprotected void doLoad(javax.swing.JComboBox comboBox)
doLoad
in class SettingsProcessor<javax.swing.JComboBox,java.lang.Integer>
comboBox
- component to load settings intoprotected void doSave(javax.swing.JComboBox comboBox)
doSave
in class SettingsProcessor<javax.swing.JComboBox,java.lang.Integer>
comboBox
- component to save settings from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |