|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.frontend.DefaultLayoutChangeStrategy.SettingAccess
protected class DefaultLayoutChangeStrategy.SettingAccess
A wrapper around a Setting, allows algorithms access to the settings
but also allows to modify the data without changing the setting.
| Constructor Summary | |
|---|---|
DefaultLayoutChangeStrategy.SettingAccess(Setting setting)
Creates a new wrapper. |
|
| Method Summary | |
|---|---|
void |
fillMissing(DockSituation situation)
Using the factories given by situation, this method tries
to fill any gaps in the layout. |
int |
getInvisibleCount()
Gets the number of stored invisible elements. |
String |
getInvisibleKey(int index)
Gets the key of the index'th invisible element. |
DockLayoutComposition |
getInvisibleLayout(int index)
Gets the layout of the index'th invisible element. |
DockableProperty |
getInvisibleLocation(int index)
Gets the location of the index'th invisible element. |
String |
getInvisibleRoot(int index)
Gets the preferred root of the index'th invisible element. |
DockLayoutComposition |
getRoot(String root)
Gets the layout of a root. |
String[] |
getRootKeys()
Gets the keys of all known roots. |
Setting |
getSetting()
Gets the setting that is hidden by this wrapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLayoutChangeStrategy.SettingAccess(Setting setting)
setting - the source for all data, not null| Method Detail |
|---|
public Setting getSetting()
nullpublic DockLayoutComposition getRoot(String root)
root - the root
nullpublic String[] getRootKeys()
public int getInvisibleCount()
public String getInvisibleKey(int index)
index - the index of the element
public String getInvisibleRoot(int index)
index - the index of the element
public DockableProperty getInvisibleLocation(int index)
index - the index of the element
public DockLayoutComposition getInvisibleLayout(int index)
index - the index of the layout
nullpublic void fillMissing(DockSituation situation)
situation, this method tries
to fill any gaps in the layout.
situation - a set of factories to use
IllegalArgumentException - if situation cannot handle
the content of this setting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||