|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.facile.mode.MaximizedModeSetting
public class MaximizedModeSetting
Settings associated with a MaximizedMode
.
Field Summary | |
---|---|
static ModeSettingFactory<Location> |
FACTORY
factory creating new MaximizedModeSetting s |
Constructor Summary | |
---|---|
MaximizedModeSetting()
|
Method Summary | ||
---|---|---|
Map<String,Location> |
getLastMaximizedLocation()
Gets the location of Dockable s that are currently maximized. |
|
Map<String,Path> |
getLastMaximizedMode()
Gets the modes of Dockable s that are currently maximized. |
|
Path |
getModeId()
Gets the unique identifier of the Mode this setting is
associated with. |
|
|
read(DataInputStream in,
ModeSettingsConverter<Location,B> converter)
Reads the contents of this setting from in . |
|
|
read(XElement element,
ModeSettingsConverter<Location,B> converter)
Reads the contents of this setting from element . |
|
void |
setLastMaximizedLocation(Map<String,Location> lastMaximizedLocation)
Sets the location of Dockable s that are maximized. |
|
void |
setLastMaximizedMode(Map<String,Path> lastMaximizedMode)
Sets the mode of Dockable s that are maximized. |
|
|
write(DataOutputStream out,
ModeSettingsConverter<Location,B> converter)
Writes the contents of this setting into out . |
|
|
write(XElement element,
ModeSettingsConverter<Location,B> converter)
Writes the contents of this setting into element . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ModeSettingFactory<Location> FACTORY
MaximizedModeSetting
s
Constructor Detail |
---|
public MaximizedModeSetting()
Method Detail |
---|
public Path getModeId()
ModeSetting
Mode
this setting is
associated with.
getModeId
in interface ModeSetting<Location>
public void setLastMaximizedLocation(Map<String,Location> lastMaximizedLocation)
Dockable
s that are maximized. This method makes a copy
of the map.
lastMaximizedLocation
- the map that is going to be copiedpublic void setLastMaximizedMode(Map<String,Path> lastMaximizedMode)
Dockable
s that are maximized. This method makes a copy
of the map.
lastMaximizedMode
- the map that is going to be copiedpublic Map<String,Location> getLastMaximizedLocation()
Dockable
s that are currently maximized.
public Map<String,Path> getLastMaximizedMode()
Dockable
s that are currently maximized.
public <B> void write(DataOutputStream out, ModeSettingsConverter<Location,B> converter) throws IOException
ModeSetting
out
.
write
in interface ModeSetting<Location>
out
- the stream to write intoconverter
- converts data to and from persistent storage
IOException
- in case of an errorpublic <B> void read(DataInputStream in, ModeSettingsConverter<Location,B> converter) throws IOException
ModeSetting
in
.
read
in interface ModeSetting<Location>
in
- the stream to read fromconverter
- converts data to and from persistent storage
IOException
- in case of an errorpublic <B> void write(XElement element, ModeSettingsConverter<Location,B> converter)
ModeSetting
element
. This
method should add children to element
, but not change
the attributes of element
.
write
in interface ModeSetting<Location>
element
- the item to write intoconverter
- converts data to and from persistent storagepublic <B> void read(XElement element, ModeSettingsConverter<Location,B> converter)
ModeSetting
element
.
read
in interface ModeSetting<Location>
element
- the item to read fromconverter
- converts data to and from persistent storage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |