Module org.snapfx

Enum Class DockFloatingPinSource

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

public enum DockFloatingPinSource extends Enum<DockFloatingPinSource>
Indicates what triggered a floating window pin-state change.
  • Enum Constant Details

    • USER

      public static final DockFloatingPinSource USER
      User interaction from floating-window controls or menus.
    • API

      public static final DockFloatingPinSource API
      Programmatic API call from application code.
    • LAYOUT_LOAD

      public static final DockFloatingPinSource LAYOUT_LOAD
      Layout deserialization restore flow.
    • WINDOW_CREATE_DEFAULT

      public static final DockFloatingPinSource WINDOW_CREATE_DEFAULT
      Initial default when creating a new floating window.
  • Method Details

    • values

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