Package com.j3d.ui.theme.cursors
Enum Class CursorNames
- All Implemented Interfaces:
Serializable,Comparable<CursorNames>,Constable
An enum representing the names of custom cursors used in the app.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default cursor.Hand cursor (Splayed open hand to represent dragging)Hand cursor (Fist/Closed hand to represent dragging)Hand cursor (Index finger pointing at target)The wait cursor or whatevaGeneric pointer cursor.Pointer cursor with a blue add symbolPointer cursor with a yellow question mark symbolPointer cursor with a green quesiton mark symbolPointer cursor with a red subtract symbol -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static CursorNamesReturns the enum constant of this class with the specified name.static CursorNames[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default cursor. This one may change -
POINTER
Generic pointer cursor. -
HOURGLASS
The wait cursor or whateva -
SELECT_SOFT
Pointer cursor with a yellow question mark symbol -
SELECT_STRICT
Pointer cursor with a green quesiton mark symbol -
SELECT_SUBTRACT
Pointer cursor with a red subtract symbol -
SELECT_ADD
Pointer cursor with a blue add symbol -
HAND_GRAB
Hand cursor (Splayed open hand to represent dragging) -
HAND_GRABBING
Hand cursor (Fist/Closed hand to represent dragging) -
HAND_POINTER
Hand cursor (Index finger pointing at target)
-
-
Field Details
-
value
-
-
Constructor Details
-
CursorNames
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
-