public enum CursorType extends java.lang.Enum<CursorType>
Enum Constant and Description |
---|
CROSS |
CUSTOM |
DEFAULT |
E_RESIZE |
HAND |
MOVE |
N_RESIZE |
NE_RESIZE |
NW_RESIZE |
S_RESIZE |
SE_RESIZE |
SW_RESIZE |
TEXT |
W_RESIZE |
WAIT |
Modifier and Type | Field and Description |
---|---|
int |
awtCursor |
Modifier and Type | Method and Description |
---|---|
static CursorType |
fromAwtCursor(int awtCursor)
Retrieve CursorType by AWT type
|
static CursorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CursorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CursorType DEFAULT
public static final CursorType TEXT
public static final CursorType N_RESIZE
public static final CursorType NE_RESIZE
public static final CursorType E_RESIZE
public static final CursorType SE_RESIZE
public static final CursorType S_RESIZE
public static final CursorType SW_RESIZE
public static final CursorType W_RESIZE
public static final CursorType NW_RESIZE
public static final CursorType CROSS
public static final CursorType WAIT
public static final CursorType MOVE
public static final CursorType HAND
public static final CursorType CUSTOM
public static CursorType[] values()
for (CursorType c : CursorType.values()) System.out.println(c);
public static CursorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CursorType fromAwtCursor(int awtCursor)
awtCursor
- AWT cursor type