Module org.jpo

Enum Class ResizableJFrame.WindowSize

java.lang.Object
java.lang.Enum<ResizableJFrame.WindowSize>
org.jpo.gui.swing.ResizableJFrame.WindowSize
All Implemented Interfaces:
Serializable, Comparable<ResizableJFrame.WindowSize>, Constable
Enclosing class:
ResizableJFrame

public static enum ResizableJFrame.WindowSize extends Enum<ResizableJFrame.WindowSize>
Window size options
  • Enum Constant Details

    • WINDOW_UNDECORATED_FULLSCREEN

      public static final ResizableJFrame.WindowSize WINDOW_UNDECORATED_FULLSCREEN
      Switches the Window to fullscreen
    • WINDOW_DECORATED_FULLSCREEN

      public static final ResizableJFrame.WindowSize WINDOW_DECORATED_FULLSCREEN
      Switches the Window to fullscreen
    • WINDOW_DECORATED_PRIMARY

      public static final ResizableJFrame.WindowSize WINDOW_DECORATED_PRIMARY
      Switches the Window to the primary display, filling it
    • WINDOW_DECORATED_SECONDARY

      public static final ResizableJFrame.WindowSize WINDOW_DECORATED_SECONDARY
      Switches the Window to the primary display, filling it
    • WINDOW_UNDECORATED_LEFT

      public static final ResizableJFrame.WindowSize WINDOW_UNDECORATED_LEFT
      Switches the window to occupy the left side
    • WINDOW_UNDECORATED_RIGHT

      public static final ResizableJFrame.WindowSize WINDOW_UNDECORATED_RIGHT
      Switches the window to occupy the right side
    • WINDOW_TOP_LEFT

      public static final ResizableJFrame.WindowSize WINDOW_TOP_LEFT
      Switches the window to occupy the top left of the screen
    • WINDOW_TOP_RIGHT

      public static final ResizableJFrame.WindowSize WINDOW_TOP_RIGHT
      Switches the window to occupy the top right of the screen
    • WINDOW_BOTTOM_LEFT

      public static final ResizableJFrame.WindowSize WINDOW_BOTTOM_LEFT
      Switches the window to occupy the bottom left of the screen
    • WINDOW_BOTTOM_RIGHT

      public static final ResizableJFrame.WindowSize WINDOW_BOTTOM_RIGHT
      Switches the window to occupy the bottom right of the screen
    • WINDOW_CUSTOM_SIZE

      public static final ResizableJFrame.WindowSize WINDOW_CUSTOM_SIZE
      Switches the window to a custom size and position.
    • WINDOW_CUSTOM_SIZE_LAST_VIEWER

      public static final ResizableJFrame.WindowSize WINDOW_CUSTOM_SIZE_LAST_VIEWER
      Switches the window to the position of the last viewer
    • WINDOW_CUSTOM_SIZE_MAIN_FRAME

      public static final ResizableJFrame.WindowSize WINDOW_CUSTOM_SIZE_MAIN_FRAME
      Switches the window to the position of the main window
  • Method Details

    • values

      public static ResizableJFrame.WindowSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ResizableJFrame.WindowSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null