Package limn.backend
Enum Class WindowStyle
- All Implemented Interfaces:
Serializable,Comparable<WindowStyle>,Constable
Visual framing of a window.
DECORATED: the OS draws the title bar and border; opaque (native windows are not translucent).UNDECORATED_OPAQUE: borderless, opaque framebuffer (a solid card; e.g. a plain popup).UNDECORATED_TRANSLUCENT: borderless with a transparent framebuffer, so pixels with alpha < 1 composite over the desktop (rounded corners, translucent panels; e.g. a combo popup or a glassy dialog).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic WindowStyleReturns the enum constant of this class with the specified name.static WindowStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DECORATED
-
UNDECORATED_OPAQUE
-
UNDECORATED_TRANSLUCENT
-
-
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
-
decorated
public boolean decorated()- Returns:
- whether the OS draws the window frame
-
transparent
public boolean transparent()- Returns:
- whether the framebuffer is transparent (alpha composites over the desktop)
-