Package icyllis.modernui.core
Enum Class Window.State
- All Implemented Interfaces:
Serializable
,Comparable<Window.State>
,Constable
- Enclosing class:
Window
Window states.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 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 TypeMethodDescriptionstatic Window.State
Returns the enum constant of this class with the specified name.static Window.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WINDOWED
The window is movable and takes up a subsection of the screen. -
FULLSCREEN
The window is running in exclusive fullscreen and is potentially using a different resolution to the desktop. -
FULLSCREEN_BORDERLESS
The window is running in non-exclusive fullscreen, where it expands to fill the screen at the native desktop resolution. -
MAXIMIZED
The window is running in maximized mode, usually triggered by clicking the operating system's maximize button. -
MINIMIZED
The window is running in minimized mode, usually triggered by clicking the operating system's minimize button.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-