|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.settings.SettingsGroup
@XStreamConverter(value=SettingsConverter.class) public class SettingsGroup
Settings group data class.
SettingsManager
,
Serialized FormConstructor Summary | |
---|---|
SettingsGroup()
Constructs unnamed SettingsGroup. |
|
SettingsGroup(java.lang.String name)
Constructs SettingsGroup with the specified name. |
|
SettingsGroup(java.lang.String id,
java.lang.String name)
Constructs SettingsGroup with the specified name. |
Method Summary | ||
---|---|---|
java.lang.Object |
get(java.lang.String key)
Returns value for specified key. |
|
java.lang.String |
getId()
Returns SettingsGroup unique ID. |
|
java.lang.String |
getName()
Returns unique name. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getSettings()
Returns settings map. |
|
|
put(java.lang.String key,
T object)
Puts value under the specified key. |
|
void |
setId(java.lang.String id)
Sets unique ID. |
|
void |
setName(java.lang.String name)
Sets unique name. |
|
void |
setSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
Sets settings map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SettingsGroup()
public SettingsGroup(java.lang.String name)
name
- SettingsGroup namepublic SettingsGroup(java.lang.String id, java.lang.String name)
id
- SettingsGroup IDname
- SettingsGroup nameMethod Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- new unique IDpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- new unique namepublic java.util.Map<java.lang.String,java.lang.Object> getSettings()
public void setSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
settings
- new settings mappublic java.lang.Object get(java.lang.String key)
key
- key
public <T> T put(java.lang.String key, T object)
T
- value typekey
- keyobject
- value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |