|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MouseCursor>
org.scijava.input.MouseCursor
public enum MouseCursor
A UI-independent enumeration of mouse cursors.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |