|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.support.action.ModeTransitionSetting<StateManager.Location,B>
bibliothek.gui.dock.facile.state.StateManager.StateManagerSetting<B>
B
- the internal representation of the propertiespublic static class StateManager.StateManagerSetting<B>
A set of properties used to store the contents of a StateManager
Constructor Summary | |
---|---|
StateManager.StateManagerSetting(ModeTransitionConverter<StateManager.Location,B> converter)
Creates a new setting. |
Method Summary | |
---|---|
Map<String,StateManager.Location> |
getLastMaximizedLocation()
Gets the location of the last elements that were maximized. |
Map<String,String> |
getLastMaximizedMode()
Gets the mode the last maximized elements were in. |
void |
read(DataInputStream in)
Clears all properties of this setting and then reads new properties from in . |
void |
readXML(XElement element)
Clears all properties of this setting and then reads new properties from element . |
void |
setLastMaximizedLocation(Map<String,StateManager.Location> lastMaximizedLocation)
Sets the location of the last elements that were maximized. |
void |
setLastMaximizedMode(Map<String,String> lastMaximizedMode)
Sets the mode the last maximized elements were in. |
void |
write(DataOutputStream out)
Writes all properties of this setting into out . |
void |
writeXML(XElement element)
Writes the contents of this setting in xml format. |
Methods inherited from class bibliothek.gui.dock.support.action.ModeTransitionSetting |
---|
add, getConverter, getCurrent, getHistory, getId, getProperties, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateManager.StateManagerSetting(ModeTransitionConverter<StateManager.Location,B> converter)
converter
- converts internal and external propertiesMethod Detail |
---|
public void setLastMaximizedMode(Map<String,String> lastMaximizedMode)
lastMaximizedMode
- the modes or null
public Map<String,String> getLastMaximizedMode()
null
public void setLastMaximizedLocation(Map<String,StateManager.Location> lastMaximizedLocation)
lastMaximizedLocation
- the locations or null
public Map<String,StateManager.Location> getLastMaximizedLocation()
null
public void write(DataOutputStream out) throws IOException
ModeTransitionSetting
out
.
write
in class ModeTransitionSetting<StateManager.Location,B>
out
- the stream to write into
IOException
- if an I/O-error occurspublic void read(DataInputStream in) throws IOException
ModeTransitionSetting
in
.
read
in class ModeTransitionSetting<StateManager.Location,B>
in
- the stream to read from
IOException
- if an I/O-error occurspublic void writeXML(XElement element)
ModeTransitionSetting
writeXML
in class ModeTransitionSetting<StateManager.Location,B>
element
- the elemnt to write into, the attributes of
element will not be changed.ModeTransitionSetting.readXML(XElement)
public void readXML(XElement element)
ModeTransitionSetting
element
.
readXML
in class ModeTransitionSetting<StateManager.Location,B>
element
- the element from which the properties should be readModeTransitionSetting.writeXML(XElement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |