|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.frontend.SettingsBlop
public class SettingsBlop
A set of Settings, represents the content of the file that is used by
DockFrontend to store the layout. The SettingsBlop is not yet
associated with DockElements, hence it is lightweight and an application
can easily store more than one blop.
| Constructor Summary | |
|---|---|
SettingsBlop()
|
|
| Method Summary | |
|---|---|
String |
getCurrentName()
Gets the name of the current setting. |
Setting |
getCurrentSetting()
Gets the current setting, the layout that is currently shown by the application. |
String[] |
getNames()
Gets the names of all Settings that are stored in this blop. |
Setting |
getSetting(String name)
Gets the Setting which was stored using the
key name. |
void |
put(String name,
Setting setting)
Stores setting in a Map using name as key. |
void |
remove(String name)
Removes the Setting name from this blop. |
void |
setCurrent(String name,
Setting setting)
Sets name and setting of the current layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SettingsBlop()
| Method Detail |
|---|
public void put(String name,
Setting setting)
setting in a Map using name as key.
name - the key of settingsetting - the data to storepublic void remove(String name)
Setting name from this blop.
name - the name of the setting to removepublic String[] getNames()
Settings that are stored in this blop.
public Setting getSetting(String name)
Setting which was stored using the
key name.
name - the name of a setting
null if name is not known
public void setCurrent(String name,
Setting setting)
SettingsBlop
is not loaded).
name - the name of the current setting, can be nullsetting - the current setting, should not be nullpublic String getCurrentName()
current setting.
nullpublic Setting getCurrentSetting()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||