|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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,Location> |
getModes()
Gets the set of modes. |
void |
read(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
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,Location> modes)
Sets the set of modes. |
void |
write(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
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,Location> modes)
modes
- the modespublic ModeSettings<Location,Location> getModes()
public void write(DockSituation situation, PropertyTransformer transformer, boolean entry, DataOutputStream out) throws IOException
Setting
out
.
write
in class Setting
situation
- can be used to write DockLayout
stransformer
- can be used to write DockableProperty
sentry
- 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
IOException
- if an I/O-error occurspublic void writeXML(DockSituation situation, PropertyTransformer transformer, boolean entry, XElement element)
Setting
writeXML
in class Setting
situation
- can be used to write DockLayout
stransformer
- can be used to write DockableProperty
sentry
- 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, DataInputStream in) throws IOException
Setting
read
in class Setting
situation
- can be used to read DockLayout
stransformer
- can be used to read DockableProperty
sentry
- 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
IOException
- if an I/O-error occurspublic void readXML(DockSituation situation, PropertyTransformer transformer, boolean entry, XElement element)
Setting
readXML
in class Setting
situation
- can be used to read DockLayout
stransformer
- can be used to read DockableProperty
sentry
- 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 |