public enum Cursor extends Enum<Cursor> implements ModelEnum
Enum Constant and Description |
---|
ALIAS |
ALL_SCROLL |
AUTO |
CELL |
COL_RESIZE |
CONTEXT_MENU |
COPY |
CROSSHAIR |
DEFAULT |
E_RESIZE |
EW_RESIZE |
GRAB |
GRABBING |
HELP |
MOVE |
N_RESIZE |
NE_RESIZE |
NESW_RESIZE |
NO_DROP |
NONE |
NOT_ALLOWED |
NS_RESIZE |
NW_RESIZE |
NWSE_RESIZE |
POINTER |
PROGRESS |
ROW_RESIZE |
S_RESIZE |
SE_RESIZE |
SW_RESIZE |
TEXT |
VERTICAL_TEXT |
W_RESIZE |
WAIT |
ZOOM_IN |
ZOOM_OUT |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Cursor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cursor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cursor ALIAS
public static final Cursor ALL_SCROLL
public static final Cursor AUTO
public static final Cursor CELL
public static final Cursor COL_RESIZE
public static final Cursor CONTEXT_MENU
public static final Cursor COPY
public static final Cursor CROSSHAIR
public static final Cursor DEFAULT
public static final Cursor E_RESIZE
public static final Cursor EW_RESIZE
public static final Cursor GRAB
public static final Cursor GRABBING
public static final Cursor HELP
public static final Cursor MOVE
public static final Cursor N_RESIZE
public static final Cursor NE_RESIZE
public static final Cursor NESW_RESIZE
public static final Cursor NO_DROP
public static final Cursor NONE
public static final Cursor NOT_ALLOWED
public static final Cursor NS_RESIZE
public static final Cursor NW_RESIZE
public static final Cursor NWSE_RESIZE
public static final Cursor POINTER
public static final Cursor PROGRESS
public static final Cursor ROW_RESIZE
public static final Cursor S_RESIZE
public static final Cursor SE_RESIZE
public static final Cursor SW_RESIZE
public static final Cursor TEXT
public static final Cursor VERTICAL_TEXT
public static final Cursor W_RESIZE
public static final Cursor WAIT
public static final Cursor ZOOM_IN
public static final Cursor ZOOM_OUT
public static Cursor[] values()
for (Cursor c : Cursor.values()) System.out.println(c);
public static Cursor 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 © 2022. All rights reserved.