com.notuvy.gui
Class WindowLocation
java.lang.Object
com.notuvy.xml.SimpleJdom
com.notuvy.xml.PersistentJdom
com.notuvy.gui.WindowLocation
public class WindowLocation
- extends PersistentJdom
Keep track of the locations of multiple windows. Allow this persistent
data to display windows in the same locations across application lifecycles.
- Author:
- murali
Methods inherited from class com.notuvy.xml.SimpleJdom |
addChildElement, createFormat, createRoot, getChildInteger, getChildLong, getChildren, getChildrenOfContainer, getChildText, getFormat, getStorage, isValidRoot, readFrom, readFrom, readFromContent, saveTo, setStorage, toDocument, toString, toXmlString |
WindowLocation
public WindowLocation(File pFile)
WindowLocation
public WindowLocation(String pString)
getMap
protected Map<String,Point> getMap()
remember
public void remember(PersistentLocatable pLocatable)
set
public void set(PersistentLocatable pLocatable)
rootName
public String rootName()
- Overrides:
rootName
in class SimpleJdom
toXml
public org.jdom.Element toXml()
- Description copied from class:
SimpleJdom
- Return this object as a sub-element to be inserted within another object.
This does NOT return a Document representation.
- Specified by:
toXml
in class SimpleJdom
- Returns:
- Element representation suitable for insertion into another object.
parse
protected void parse(org.jdom.Element pRoot)
- Specified by:
parse
in class SimpleJdom
reportXmlParseError
protected void reportXmlParseError(org.jdom.JDOMException jdome)
- Overrides:
reportXmlParseError
in class SimpleJdom
Copyright © 2013. All Rights Reserved.