public static enum Cursor.Type extends java.lang.Enum<Cursor.Type>
Enum Constant and Description |
---|
auto
The browser sets a cursor
|
crosshair
The cursor render as a crosshair
|
default_
The default cursor (often an arrow)
|
e_resize
The cursor indicates that an edge of a box is to be moved right
(east)
|
help
The cursor indicates that help is available (often a question mark or
a balloon)
|
move
The cursor indicates something that should be moved
|
n_resize
The cursor indicates that an edge of a box is to be moved up (north)
|
ne_resize
The cursor indicates that an edge of a box is to be moved up and
right (north/east)
|
nw_resize
The cursor indicates that an edge of a box is to be moved up and left
(north/west)
|
pointer
The cursor render as a pointer (a hand) that indicates a link
|
s_resize
The cursor indicates that an edge of a box is to be moved down
(south)
|
se_resize
The cursor indicates that an edge of a box is to be moved down and
right (south/east)
|
sw_resize
The cursor indicates that an edge of a box is to be moved down and
left (south/west)
|
text_
The cursor indicates text
|
w_resize
The cursor indicates that an edge of a box is to be moved left (west)
|
wait_
The cursor indicates that the program is busy (often a watch or an
hourglass)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Cursor.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cursor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cursor.Type default_
public static final Cursor.Type auto
public static final Cursor.Type crosshair
public static final Cursor.Type pointer
public static final Cursor.Type move
public static final Cursor.Type e_resize
public static final Cursor.Type ne_resize
public static final Cursor.Type nw_resize
public static final Cursor.Type n_resize
public static final Cursor.Type se_resize
public static final Cursor.Type sw_resize
public static final Cursor.Type s_resize
public static final Cursor.Type w_resize
public static final Cursor.Type text_
public static final Cursor.Type wait_
public static final Cursor.Type help
public static Cursor.Type[] values()
for (Cursor.Type c : Cursor.Type.values()) System.out.println(c);
public static Cursor.Type 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Cursor.Type>