|
||||||||||
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.action.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 | |
---|---|
StateManager.Location |
getLastMaximizedLocation()
Gets the location of the last element that was maximized. |
String |
getLastMaximizedMode()
Gets the mode the last maximized element was in. |
void |
read(DataInputStream in)
Clears all properties of this setting and then reads new properties from in . |
void |
setLastMaximizedLocation(StateManager.Location lastMaximizedLocation)
Sets the location of the last element that was maximized. |
void |
setLastMaximizedMode(String lastMaximizedMode)
Sets the mode the last maximized element was in. |
void |
write(DataOutputStream out)
Writes all properties of this setting into out . |
Methods inherited from class bibliothek.gui.dock.support.action.ModeTransitionSetting |
---|
add, getConverter, getCurrent, getHistory, getId, getProperties, readXML, size, writeXML |
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(String lastMaximizedMode)
lastMaximizedMode
- the mode or null
public String getLastMaximizedMode()
null
public void setLastMaximizedLocation(StateManager.Location lastMaximizedLocation)
lastMaximizedLocation
- the location or null
public 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 occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |