|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.facile.mode.MaximizedModeSetting
public class MaximizedModeSetting
Settings associated with a MaximizedMode.
| Field Summary | |
|---|---|
static ModeSettingFactory<Location> |
FACTORY
factory creating new MaximizedModeSettings |
| Constructor Summary | |
|---|---|
MaximizedModeSetting()
|
|
| Method Summary | ||
|---|---|---|
java.util.Map<java.lang.String,Location> |
getLastMaximizedLocation()
Gets the location of Dockables that are currently maximized. |
|
java.util.Map<java.lang.String,Path> |
getLastMaximizedMode()
Gets the modes of Dockables that are currently maximized. |
|
Path |
getModeId()
Gets the unique identifier of the Mode this setting is
associated with. |
|
|
read(java.io.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(java.util.Map<java.lang.String,Location> lastMaximizedLocation)
Sets the location of Dockables that are maximized. |
|
void |
setLastMaximizedMode(java.util.Map<java.lang.String,Path> lastMaximizedMode)
Sets the mode of Dockables that are maximized. |
|
|
write(java.io.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
MaximizedModeSettings
| Constructor Detail |
|---|
public MaximizedModeSetting()
| Method Detail |
|---|
public Path getModeId()
ModeSettingMode this setting is
associated with.
getModeId in interface ModeSetting<Location>public void setLastMaximizedLocation(java.util.Map<java.lang.String,Location> lastMaximizedLocation)
Dockables that are maximized. This method makes a copy
of the map.
lastMaximizedLocation - the map that is going to be copiedpublic void setLastMaximizedMode(java.util.Map<java.lang.String,Path> lastMaximizedMode)
Dockables that are maximized. This method makes a copy
of the map.
lastMaximizedMode - the map that is going to be copiedpublic java.util.Map<java.lang.String,Location> getLastMaximizedLocation()
Dockables that are currently maximized.
public java.util.Map<java.lang.String,Path> getLastMaximizedMode()
Dockables that are currently maximized.
public <B> void write(java.io.DataOutputStream out,
ModeSettingsConverter<Location,B> converter)
throws java.io.IOException
ModeSettingout.
write in interface ModeSetting<Location>out - the stream to write intoconverter - converts data to and from persistent storage
java.io.IOException - in case of an error
public <B> void read(java.io.DataInputStream in,
ModeSettingsConverter<Location,B> converter)
throws java.io.IOException
ModeSettingin.
read in interface ModeSetting<Location>in - the stream to read fromconverter - converts data to and from persistent storage
java.io.IOException - in case of an error
public <B> void write(XElement element,
ModeSettingsConverter<Location,B> converter)
ModeSettingelement. 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 storage
public <B> void read(XElement element,
ModeSettingsConverter<Location,B> converter)
ModeSettingelement.
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 | |||||||||