public static enum Cursor.SystemCursor extends Enum<Cursor.SystemCursor>
Enum Constant and Description |
---|
Arrow |
Crosshair |
Hand |
HorizontalResize |
Ibeam |
VerticalResize |
Modifier and Type | Method and Description |
---|---|
static Cursor.SystemCursor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cursor.SystemCursor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cursor.SystemCursor Arrow
public static final Cursor.SystemCursor Ibeam
public static final Cursor.SystemCursor Crosshair
public static final Cursor.SystemCursor Hand
public static final Cursor.SystemCursor HorizontalResize
public static final Cursor.SystemCursor VerticalResize
public static Cursor.SystemCursor[] values()
for (Cursor.SystemCursor c : Cursor.SystemCursor.values()) System.out.println(c);
public static Cursor.SystemCursor 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 © 2016. All rights reserved.