|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.facile.action.StateManager.LocationConverter
public static class StateManager.LocationConverter
A transformer to read or write StateManager.Location
s.
Constructor Summary | |
---|---|
StateManager.LocationConverter()
|
Method Summary | |
---|---|
StateManager.Location |
convertToSetting(StateManager.Location a)
Converts a property from the inside world into the world outside. |
StateManager.Location |
convertToWorld(StateManager.Location b)
Converts a property from the outside world into the world of this setting. |
StateManager.Location |
readProperty(DataInputStream in)
Reads a single property. |
StateManager.Location |
readPropertyXML(XElement element)
Reads a single property. |
void |
writeProperty(StateManager.Location element,
DataOutputStream out)
Writes a single property of this setting. |
void |
writePropertyXML(StateManager.Location b,
XElement element)
Writes a single property as xml element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StateManager.LocationConverter()
Method Detail |
---|
public StateManager.Location convertToSetting(StateManager.Location a)
ModeTransitionConverter
convertToSetting
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
a
- the property from inside
public StateManager.Location convertToWorld(StateManager.Location b)
ModeTransitionConverter
convertToWorld
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
b
- a property from outside
public void writeProperty(StateManager.Location element, DataOutputStream out) throws IOException
ModeTransitionConverter
writeProperty
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
element
- the property to writeout
- the stream to write into
IOException
- if an I/O-error occurspublic StateManager.Location readProperty(DataInputStream in) throws IOException
ModeTransitionConverter
readProperty
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
in
- the stream to read from
IOException
- if an I/O-error occurspublic void writePropertyXML(StateManager.Location b, XElement element)
ModeTransitionConverter
writePropertyXML
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
b
- the property to writeelement
- the element to write into, the attributes of the
element must not be changedpublic StateManager.Location readPropertyXML(XElement element)
ModeTransitionConverter
readPropertyXML
in interface ModeTransitionConverter<StateManager.Location,StateManager.Location>
element
- the element to read the property from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |