Enum Class CursorNames

java.lang.Object
java.lang.Enum<CursorNames>
com.j3d.ui.theme.cursors.CursorNames
All Implemented Interfaces:
Serializable, Comparable<CursorNames>, Constable

public enum CursorNames extends Enum<CursorNames>
An enum representing the names of custom cursors used in the app.
  • Enum Constant Details

    • DEFAULT

      public static final CursorNames DEFAULT
      The default cursor. This one may change
    • POINTER

      public static final CursorNames POINTER
      Generic pointer cursor.
    • HOURGLASS

      public static final CursorNames HOURGLASS
      The wait cursor or whateva
    • SELECT_SOFT

      public static final CursorNames SELECT_SOFT
      Pointer cursor with a yellow question mark symbol
    • SELECT_STRICT

      public static final CursorNames SELECT_STRICT
      Pointer cursor with a green quesiton mark symbol
    • SELECT_SUBTRACT

      public static final CursorNames SELECT_SUBTRACT
      Pointer cursor with a red subtract symbol
    • SELECT_ADD

      public static final CursorNames SELECT_ADD
      Pointer cursor with a blue add symbol
    • HAND_GRAB

      public static final CursorNames HAND_GRAB
      Hand cursor (Splayed open hand to represent dragging)
    • HAND_GRABBING

      public static final CursorNames HAND_GRABBING
      Hand cursor (Fist/Closed hand to represent dragging)
    • HAND_POINTER

      public static final CursorNames HAND_POINTER
      Hand cursor (Index finger pointing at target)
  • Field Details

    • value

      private final String value
  • Constructor Details

    • CursorNames

      private CursorNames(String value)
  • Method Details

    • values

      public static CursorNames[] 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 CursorNames 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
    • getValue

      public String getValue()