Enum Class HeaderButtonType

java.lang.Object
java.lang.Enum<HeaderButtonType>
javafx.scene.layout.HeaderButtonType
All Implemented Interfaces:
Serializable, Comparable<HeaderButtonType>, Constable

@Deprecated(since="25") public enum HeaderButtonType extends Enum<HeaderButtonType>
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:
  • Enum Constant Details

  • Method Details

    • values

      public static HeaderButtonType[] 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

      public static HeaderButtonType valueOf(String name)
      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 name
      NullPointerException - if the argument is null