Package org.jdesktop.application
Class SessionStorage.WindowState
- java.lang.Object
-
- org.jdesktop.application.SessionStorage.WindowState
-
- Enclosing class:
- SessionStorage
public static class SessionStorage.WindowState extends java.lang.ObjectThis Java Bean defines theWindowstate preserved across sessions: the Window'sbounds, and the bounds of the Window'sGraphicsConfiguration, i.e. the bounds of the screen that the Window appears on. If the Window is actually a Frame, we also store its extendedState.WindowStateobjects are stored and restored by theWindowPropertyclass.
-
-
Constructor Summary
Constructors Constructor Description WindowState()WindowState(java.awt.Rectangle bounds, java.awt.Rectangle gcBounds, int screenCount, int frameState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.RectanglegetBounds()intgetFrameState()java.awt.RectanglegetGraphicsConfigurationBounds()intgetScreenCount()voidsetBounds(java.awt.Rectangle bounds)voidsetFrameState(int frameState)voidsetGraphicsConfigurationBounds(java.awt.Rectangle gcBounds)voidsetScreenCount(int screenCount)
-
-
-
Method Detail
-
getBounds
public java.awt.Rectangle getBounds()
-
setBounds
public void setBounds(java.awt.Rectangle bounds)
-
getScreenCount
public int getScreenCount()
-
setScreenCount
public void setScreenCount(int screenCount)
-
getFrameState
public int getFrameState()
-
setFrameState
public void setFrameState(int frameState)
-
getGraphicsConfigurationBounds
public java.awt.Rectangle getGraphicsConfigurationBounds()
-
setGraphicsConfigurationBounds
public void setGraphicsConfigurationBounds(java.awt.Rectangle gcBounds)
-
-