|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.frontend.Setting
bibliothek.gui.dock.common.intern.CSetting
@FrameworkOnly public class CSetting
A Setting that stores also the contents of a CLocationModeManager.
| Constructor Summary | |
|---|---|
CSetting()
|
|
| Method Summary | |
|---|---|
ModeSettings<Location,?> |
getModes()
Gets the set of modes. |
java.util.List<java.lang.String> |
getMultipleFactoryDockables(java.lang.String factoryId)
Gets all the identifiers of dockables which were created and shown for factoryId. |
DockLayoutComposition |
getPredefinedStation(java.lang.String id)
Tries to find the layout of a DockStation which was predefined with the unique
identifier id. |
void |
putMultipleFactoryDockables(java.lang.String factoryId,
java.util.List<java.lang.String> dockables)
Links the factory with identifier factoryId with the
elements dockables. |
void |
read(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
java.io.DataInputStream in)
Reads the properties of this setting. |
void |
readXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Reads the properties of this setting. |
void |
setModes(ModeSettings<Location,?> modes)
Sets the set of modes. |
void |
write(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
java.io.DataOutputStream out)
Writes the properties of this setting into out. |
void |
writeXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Writes the properties of this setting in xml format. |
| Methods inherited from class bibliothek.gui.dock.frontend.Setting |
|---|
addInvisible, fillMissing, getInvisibleCount, getInvisibleKey, getInvisibleLayout, getInvisibleLocation, getInvisibleRoot, getRoot, getRootKeys, putRoot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSetting()
| Method Detail |
|---|
public void setModes(ModeSettings<Location,?> modes)
modes - the modespublic ModeSettings<Location,?> getModes()
public void putMultipleFactoryDockables(java.lang.String factoryId,
java.util.List<java.lang.String> dockables)
factoryId with the
elements dockables. This information can be useful when
a factory is added to the CControl after a setting was loaded.
factoryId - the id of the factorydockables - the list of elements, not nullpublic java.util.List<java.lang.String> getMultipleFactoryDockables(java.lang.String factoryId)
factoryId.
factoryId - the id of a factory
public DockLayoutComposition getPredefinedStation(java.lang.String id)
DockStation which was predefined with the unique
identifier id.
id - the identifier to search
null if not found
public void write(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
java.io.DataOutputStream out)
throws java.io.IOException
Settingout.
write in class Settingsituation - can be used to write DockLayoutstransformer - can be used to write DockablePropertysentry - if true, then this setting is used as one of
the settings a user can choose. If false then this setting
is used as the final setting that is written when the application
shuts down.out - a stream to write into
java.io.IOException - if an I/O-error occurs
public void writeXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Setting
writeXML in class Settingsituation - can be used to write DockLayoutstransformer - can be used to write DockablePropertysentry - if true, then this setting is used as one of
the settings a user can choose. If false then this setting
is used as the final setting that is written when the application
shuts down.element - the element into which this setting writes, the attributes
of element are not changed.
public void read(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
java.io.DataInputStream in)
throws java.io.IOException
Setting
read in class Settingsituation - can be used to read DockLayoutstransformer - can be used to read DockablePropertysentry - if true, then this setting is used as one of
the settings a user can choose. If false then this setting
is used as the first setting that is read when the application
starts up.in - the stream to read from
java.io.IOException - if an I/O-error occurs
public void readXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Setting
readXML in class Settingsituation - can be used to read DockLayoutstransformer - can be used to read DockablePropertysentry - if true, then this setting is used as one of
the settings a user can choose. If false then this setting
is used as the first setting that is read when the application
starts up.element - the element which should be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||