public enum MouseCursor extends Enum<MouseCursor>
Enum Constant and Description |
---|
CROSSHAIR
A crosshair cursor.
|
CUSTOM
Custom cursor.
|
DEFAULT
Default pointer.
|
E_RESIZE
Cursor for resizing an edge eastward.
|
HAND
A hand-shaped cursor.
|
MOVE
Four-way arrow cursor.
|
N_RESIZE
Cursor for resizing an edge northward.
|
NE_RESIZE
Cursor for resizing an edge northeast.
|
NW_RESIZE
Cursor for resizing an edge northwest.
|
OFF
No cursor (invisible).
|
S_RESIZE
Cursor for resizing an edge southward.
|
SE_RESIZE
Cursor for resizing an edge southeast.
|
SW_RESIZE
Cursor for resizing an edge southwest.
|
TEXT
Vertical bar cursor, for text selection.
|
W_RESIZE
Cursor for resizing an edge westward.
|
WAIT
Hourglass cursor.
|
Modifier and Type | Method and Description |
---|---|
static MouseCursor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseCursor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseCursor DEFAULT
public static final MouseCursor OFF
public static final MouseCursor CUSTOM
public static final MouseCursor CROSSHAIR
public static final MouseCursor HAND
public static final MouseCursor MOVE
public static final MouseCursor TEXT
public static final MouseCursor WAIT
public static final MouseCursor N_RESIZE
public static final MouseCursor S_RESIZE
public static final MouseCursor W_RESIZE
public static final MouseCursor E_RESIZE
public static final MouseCursor NW_RESIZE
public static final MouseCursor NE_RESIZE
public static final MouseCursor SW_RESIZE
public static final MouseCursor SE_RESIZE
public static MouseCursor[] values()
for (MouseCursor c : MouseCursor.values()) System.out.println(c);
public static MouseCursor 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 © 2015–2022 SciJava. All rights reserved.