Module org.snapfx

Enum Class DockPosition

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

public enum DockPosition extends Enum<DockPosition>
Represents the different docking zones used during drag & drop.
  • Enum Constant Details

    • TOP

      public static final DockPosition TOP
      Split above the target.
    • BOTTOM

      public static final DockPosition BOTTOM
      Split below the target.
    • LEFT

      public static final DockPosition LEFT
      Split to the left of the target.
    • CENTER

      public static final DockPosition CENTER
      Insert as tab (center docking).
  • Method Details

    • values

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