com.openpcl.viewer.jframe
Class PosPersistOuterFrameValues
java.lang.Object
com.openpcl.viewer.jframe.PosPersistOuterFrameValues
public class PosPersistOuterFrameValues
- extends Object
At program startup and upon exiting the app, get/set the outer frame's (x,y) location and (width, height)
and if maximized/minimized, so that the app's window always is where the user left it last time.
- Author:
- howard 9/14/06
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sKeyOuterframeX
public static final String sKeyOuterframeX
- See Also:
- Constant Field Values
sKeyOuterframeY
public static final String sKeyOuterframeY
- See Also:
- Constant Field Values
sKeyOuterframeWidth
public static final String sKeyOuterframeWidth
- See Also:
- Constant Field Values
sKeyOuterframeHeight
public static final String sKeyOuterframeHeight
- See Also:
- Constant Field Values
sKeyOuterframeState
public static final String sKeyOuterframeState
- See Also:
- Constant Field Values
sDefaultOuterframeX
public static final int sDefaultOuterframeX
- See Also:
- Constant Field Values
sDefaultOuterframeY
public static final int sDefaultOuterframeY
- See Also:
- Constant Field Values
sDefaultOuterframeWidth
public static final int sDefaultOuterframeWidth
- See Also:
- Constant Field Values
sDefaultOuterframeHeight
public static final int sDefaultOuterframeHeight
- See Also:
- Constant Field Values
sDefaultOuterframeState
public static final int sDefaultOuterframeState
- See Also:
- Constant Field Values
mOuterframeX
public int mOuterframeX
mOuterframeY
public int mOuterframeY
mOuterframeWidth
public int mOuterframeWidth
mOuterframeHeight
public int mOuterframeHeight
mOuterframeState
public int mOuterframeState
PosPersistOuterFrameValues
public PosPersistOuterFrameValues()
readOuterFrameValues
public void readOuterFrameValues(Preferences pPrefs)
saveOuterFrameValues
public void saveOuterFrameValues(Preferences pPrefs,
int pX,
int pY,
int pWidth,
int pHeight,
int pFrameState)
getOuterframeX
public int getOuterframeX()
getOuterframeY
public int getOuterframeY()
getOuterframeWidth
public int getOuterframeWidth()
getOuterframeHeight
public int getOuterframeHeight()
getOuterframeState
public int getOuterframeState()
setOuterframeX
public void setOuterframeX(int pOuterframeX)
setOuterframeY
public void setOuterframeY(int pOuterframeY)
setOuterframeWidth
public void setOuterframeWidth(int pOuterframeWidth)
setOuterframeHeight
public void setOuterframeHeight(int pOuterframeHeight)
setOuterframeState
public void setOuterframeState(int pOuterframeState)
OpenPCL http://www.openpcl.com