Package org.jdesktop.application
Class SessionStorage.WindowState
java.lang.Object
org.jdesktop.application.SessionStorage.WindowState
- Enclosing class:
SessionStorage
This Java Bean defines the
Window
state preserved across
sessions: the Window's bounds
, and the bounds of the
Window's GraphicsConfiguration
, i.e. the bounds of the
screen that the Window appears on. If the Window is actually a
Frame, we also store its extendedState. WindowState
objects
are stored and restored by the WindowProperty
class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWindowState
(Rectangle bounds, Rectangle gcBounds, int screenCount, int frameState) -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
void
setFrameState
(int frameState) void
setGraphicsConfigurationBounds
(Rectangle gcBounds) void
setScreenCount
(int screenCount)
-
Constructor Details
-
WindowState
public WindowState() -
WindowState
-
-
Method Details
-
getBounds
-
setBounds
-
getScreenCount
public int getScreenCount() -
setScreenCount
public void setScreenCount(int screenCount) -
getFrameState
public int getFrameState() -
setFrameState
public void setFrameState(int frameState) -
getGraphicsConfigurationBounds
-
setGraphicsConfigurationBounds
-