|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.settings.SettingsProcessorData
public class SettingsProcessorData
Base data class for any SettingsProcessor.
SettingsManager
,
ComponentSettingsManager
,
SettingsProcessor
Constructor Summary | |
---|---|
SettingsProcessorData()
Constructs empty SettingsProcessorData. |
|
SettingsProcessorData(java.awt.Component component,
java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges)
Constructs SettingsProcessorData with the specified data. |
Method Summary | |
---|---|
java.awt.Component |
getComponent()
Returns component which settings are being managed. |
java.lang.Object |
getDefaultValue()
Returns component default value. |
java.lang.String |
getGroup()
Returns component settings group. |
java.lang.String |
getKey()
Returns component settings key. |
boolean |
isApplySettingsChanges()
Returns whether settings changes should be applied to the component or not. |
boolean |
isLoadInitialSettings()
Returns whether initial available settings should be loaded into the component or not. |
void |
setApplySettingsChanges(boolean applySettingsChanges)
Sets whether to apply settings changes to the component or not. |
void |
setComponent(java.awt.Component component)
Sets component which settings are being managed. |
void |
setDefaultValue(java.lang.Object defaultValue)
Sets component default value. |
void |
setGroup(java.lang.String group)
Sets component settings group. |
void |
setKey(java.lang.String key)
Sets component settings key. |
void |
setLoadInitialSettings(boolean loadInitialSettings)
Sets whether to load initial available settings into the component or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SettingsProcessorData()
public SettingsProcessorData(java.awt.Component component, java.lang.String group, java.lang.String key, java.lang.Object defaultValue, boolean loadInitialSettings, boolean applySettingsChanges)
component
- component which settings are being managedgroup
- component settings groupkey
- component settings keydefaultValue
- component default valueloadInitialSettings
- whether to load initial available settings into the component or notapplySettingsChanges
- whether to apply settings changes to the component or notMethod Detail |
---|
public java.awt.Component getComponent()
public void setComponent(java.awt.Component component)
component
- component which settings are being managedpublic java.lang.String getGroup()
public void setGroup(java.lang.String group)
group
- component settings grouppublic java.lang.String getKey()
public void setKey(java.lang.String key)
key
- component settings keypublic java.lang.Object getDefaultValue()
public void setDefaultValue(java.lang.Object defaultValue)
defaultValue
- component default valuepublic boolean isLoadInitialSettings()
public void setLoadInitialSettings(boolean loadInitialSettings)
loadInitialSettings
- whether to load initial available settings into the component or notpublic boolean isApplySettingsChanges()
public void setApplySettingsChanges(boolean applySettingsChanges)
applySettingsChanges
- whether to apply settings changes to the component or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |