Enum Class HeaderDragType

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

@Deprecated(since="25") public enum HeaderDragType extends Enum<HeaderDragType>
Deprecated.
This is a preview feature which may be changed or removed in a future release.
Specifies whether a node is a draggable part of a HeaderBar.
Since:
25
See Also:
  • Enum Constant Details

    • NONE

      public static final HeaderDragType NONE
      Deprecated.
      The node is not a draggable part of the HeaderBar.

      If the node inherits DRAGGABLE_SUBTREE from its parent, the inheritance stops and descendants of the node will not inherit DRAGGABLE_SUBTREE.

    • DRAGGABLE

      public static final HeaderDragType DRAGGABLE
      Deprecated.
      The node is a draggable part of the HeaderBar.

      This drag type does not apply to descendants of the node. However, it does not stop an inherited DRAGGABLE_SUBTREE drag type from being inherited by descendants of the node.

    • DRAGGABLE_SUBTREE

      public static final HeaderDragType DRAGGABLE_SUBTREE
      Deprecated.
      The node and its descendants are a draggable part of the HeaderBar.

      This drag type is inherited by descendants of the node until a descendant specifies NONE.

  • Method Details

    • values

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