Class SessionStorage.WindowState

java.lang.Object
org.jdesktop.application.SessionStorage.WindowState
Enclosing class:
SessionStorage

public static class SessionStorage.WindowState extends Object
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 Details

    • WindowState

      public WindowState()
    • WindowState

      public WindowState(Rectangle bounds, Rectangle gcBounds, int screenCount, int frameState)
  • Method Details

    • getBounds

      public Rectangle getBounds()
    • setBounds

      public void setBounds(Rectangle bounds)
    • getScreenCount

      public int getScreenCount()
    • setScreenCount

      public void setScreenCount(int screenCount)
    • getFrameState

      public int getFrameState()
    • setFrameState

      public void setFrameState(int frameState)
    • getGraphicsConfigurationBounds

      public Rectangle getGraphicsConfigurationBounds()
    • setGraphicsConfigurationBounds

      public void setGraphicsConfigurationBounds(Rectangle gcBounds)