Enum Constant and Description |
---|
Arrow
Identifies the regular arrow cursor.
|
Default
Identifies the default cursor, which is usually an arrow cursor.
|
Hand
Identifies the hand cursor that is usually display when hovering over a Web link.
|
HSplit
Identifies the cursor that appears when the mouse is positioned over a horizontal
splitter bar.
|
No
Identifies a cursor that indicates that a particular region is invalid for the
current operation.
|
SizeAll
Identifies a four-headed sizing cursor, which consists of four joined arrows
that point north, south, east, and west.
|
SizeNS
Identifies a two-headed vertical (north/south) sizing cursor.
|
SizeWE
Identifies a two-headed horizontal (west/east) sizing cursor.
|
VSplit
Identifies the cursor that appears when the mouse is positioned over a vertical
splitter bar.
|
Modifier and Type | Method and Description |
---|---|
static Cursor |
valueOf(java.lang.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 Hand
public static final Cursor SizeAll
public static final Cursor SizeWE
public static final Cursor SizeNS
public static final Cursor Arrow
public static final Cursor No
public static final Cursor VSplit
public static final Cursor HSplit
public static final Cursor Default
public static Cursor[] values()
for (Cursor c : Cursor.values()) System.out.println(c);
public static Cursor 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 null