Enum Class HeaderButtonType
- All Implemented Interfaces:
Serializable
,Comparable<HeaderButtonType>
,Constable
Deprecated.
This is a preview feature which may be changed or removed in a future release.
Identifies the semantic type of a button in a custom
HeaderBar
, which enables integrations
with the platform window manager. For example, hovering over a MAXIMIZE
button on Windows
will summon snap layouts.- Since:
- 25
- See Also:
-
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic HeaderButtonType
Deprecated.Returns the enum constant of this class with the specified name.static HeaderButtonType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ICONIFY
-
MAXIMIZE
Deprecated.Identifies the maximize button.This button toggles the
Stage.isMaximized()
orStage.isFullScreen()
property, depending on platform-specific invocation semantics. For example, on macOS the button will put the window into full-screen mode by default, but maximize it to cover the desktop when the option key is pressed.If the window is maximized, the button will have the
maximized
pseudo-class.- See Also:
-
CLOSE
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-