Enum Class Window.State

java.lang.Object
java.lang.Enum<Window.State>
icyllis.modernui.core.Window.State
All Implemented Interfaces:
Serializable, Comparable<Window.State>, Constable
Enclosing class:
Window

public static enum Window.State extends Enum<Window.State>
Window states.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The window is running in exclusive fullscreen and is potentially using a different resolution to the desktop.
    The window is running in non-exclusive fullscreen, where it expands to fill the screen at the native desktop resolution.
    The window is running in maximized mode, usually triggered by clicking the operating system's maximize button.
    The window is running in minimized mode, usually triggered by clicking the operating system's minimize button.
    The window is movable and takes up a subsection of the screen.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static Window.State[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • WINDOWED

      public static final Window.State WINDOWED
      The window is movable and takes up a subsection of the screen.
    • FULLSCREEN

      public static final Window.State FULLSCREEN
      The window is running in exclusive fullscreen and is potentially using a different resolution to the desktop.
    • FULLSCREEN_BORDERLESS

      public static final Window.State FULLSCREEN_BORDERLESS
      The window is running in non-exclusive fullscreen, where it expands to fill the screen at the native desktop resolution.
    • MAXIMIZED

      public static final Window.State MAXIMIZED
      The window is running in maximized mode, usually triggered by clicking the operating system's maximize button.
    • MINIMIZED

      public static final Window.State MINIMIZED
      The window is running in minimized mode, usually triggered by clicking the operating system's minimize button.
  • Method Details

    • values

      public static Window.State[] 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 Window.State 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