HeaderDragType (JavaFX 25)
Description: declaration: module: javafx.graphics, package: javafx.scene.layout, enum: HeaderDragType

# 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:
  - `HeaderBar.setDragType(Node, HeaderDragType)`

- ## Nested Class Summary

  ### Nested classes/interfaces declared in class Enum

  `Enum.EnumDesc<E>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `DRAGGABLE`
  Deprecated.
  The node is a draggable part of the `HeaderBar`.
  `DRAGGABLE_SUBTREE`
  Deprecated.
  The node and its descendants are a draggable part of the `HeaderBar`.
  `NONE`
  Deprecated.
  The node is not a draggable part of the `HeaderBar`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static HeaderDragType`
  `valueOf(String name)`
  Deprecated.
  Returns the enum constant of this class with the specified name.
  `static HeaderDragType[]`
  `values()`
  Deprecated.
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods declared in class Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods declared in class Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 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