public enum CursorType extends Enum<CursorType>
Enum Constant and Description |
---|
CLOSED_HAND |
CROSSHAIR |
DEFAULT |
DISAPPEAR |
E_RESIZE |
H_RESIZE |
HAND |
IMAGE |
MOVE |
N_RESIZE |
NE_RESIZE |
NONE |
NW_RESIZE |
OPEN_HAND |
S_RESIZE |
SE_RESIZE |
SW_RESIZE |
TEXT |
V_RESIZE |
W_RESIZE |
WAIT |
Modifier and Type | Method and Description |
---|---|
static CursorType |
valueOf(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 CROSSHAIR
public static final CursorType TEXT
public static final CursorType WAIT
public static final CursorType SW_RESIZE
public static final CursorType SE_RESIZE
public static final CursorType NW_RESIZE
public static final CursorType NE_RESIZE
public static final CursorType N_RESIZE
public static final CursorType S_RESIZE
public static final CursorType W_RESIZE
public static final CursorType E_RESIZE
public static final CursorType OPEN_HAND
public static final CursorType CLOSED_HAND
public static final CursorType HAND
public static final CursorType MOVE
public static final CursorType DISAPPEAR
public static final CursorType H_RESIZE
public static final CursorType V_RESIZE
public static final CursorType NONE
public static final CursorType IMAGE
public static CursorType[] values()
for (CursorType c : CursorType.values()) System.out.println(c);
public static CursorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.