Module org.snapfx

Enum Class DockDropZoneType

java.lang.Object
java.lang.Enum<DockDropZoneType>
org.snapfx.view.DockDropZoneType
All Implemented Interfaces:
Serializable, Comparable<DockDropZoneType>, Constable

public enum DockDropZoneType extends Enum<DockDropZoneType>
Type of a drop zone for drag-and-drop.
  • Enum Constant Details

    • EDGE

      public static final DockDropZoneType EDGE
      Edge drop zone for split docking around a target.
    • CENTER

      public static final DockDropZoneType CENTER
      Center drop zone for tab-into/container docking.
    • TAB_HEADER

      public static final DockDropZoneType TAB_HEADER
      Tab header hover zone for selecting or targeting existing tabs.
    • TAB_INSERT

      public static final DockDropZoneType TAB_INSERT
      Tab insert zone that represents an insertion index between tabs.
  • Method Details

    • values

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

      public static DockDropZoneType valueOf(String name)
      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