Package swingtree

Enum Class UI.Cursor

All Implemented Interfaces:
Serializable, Comparable<UI.Cursor>, Constable, UIEnum<UI.Cursor>
Enclosing class:
UI

@Immutable public static enum UI.Cursor extends Enum<UI.Cursor> implements UIEnum<UI.Cursor>
An enum set of all the available swing cursors which map to the cursor type id. This exists simply because swing was created before enums were added to Java.
  • Enum Constant Details

    • DEFAULT

      public static final UI.Cursor DEFAULT
    • CROSS

      public static final UI.Cursor CROSS
    • TEXT

      public static final UI.Cursor TEXT
    • WAIT

      public static final UI.Cursor WAIT
    • RESIZE_SOUTH_WEST

      public static final UI.Cursor RESIZE_SOUTH_WEST
    • RESIZE_SOUTH_EAST

      public static final UI.Cursor RESIZE_SOUTH_EAST
    • RESIZE_NORTH_WEST

      public static final UI.Cursor RESIZE_NORTH_WEST
    • RESIZE_NORTH_EAST

      public static final UI.Cursor RESIZE_NORTH_EAST
    • RESIZE_NORTH

      public static final UI.Cursor RESIZE_NORTH
    • RESIZE_SOUTH

      public static final UI.Cursor RESIZE_SOUTH
    • RESIZE_WEST

      public static final UI.Cursor RESIZE_WEST
    • RESIZE_EAST

      public static final UI.Cursor RESIZE_EAST
    • HAND

      public static final UI.Cursor HAND
    • MOVE

      public static final UI.Cursor MOVE
  • Method Details

    • values

      public static UI.Cursor[] 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 UI.Cursor 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
    • toAWTCursor

      public Cursor toAWTCursor()