Package com.badlogic.gdx.graphics
Enum Cursor.SystemCursor
- java.lang.Object
-
- java.lang.Enum<Cursor.SystemCursor>
-
- com.badlogic.gdx.graphics.Cursor.SystemCursor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Cursor.SystemCursor>
- Enclosing interface:
- Cursor
public static enum Cursor.SystemCursor extends java.lang.Enum<Cursor.SystemCursor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllResize
Arrow
Crosshair
Hand
HorizontalResize
Ibeam
NESWResize
None
NotAllowed
NWSEResize
VerticalResize
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cursor.SystemCursor
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
Arrow
public static final Cursor.SystemCursor Arrow
-
Ibeam
public static final Cursor.SystemCursor Ibeam
-
Crosshair
public static final Cursor.SystemCursor Crosshair
-
Hand
public static final Cursor.SystemCursor Hand
-
HorizontalResize
public static final Cursor.SystemCursor HorizontalResize
-
VerticalResize
public static final Cursor.SystemCursor VerticalResize
-
NWSEResize
public static final Cursor.SystemCursor NWSEResize
-
NESWResize
public static final Cursor.SystemCursor NESWResize
-
AllResize
public static final Cursor.SystemCursor AllResize
-
NotAllowed
public static final Cursor.SystemCursor NotAllowed
-
None
public static final Cursor.SystemCursor None
-
-
Method Detail
-
values
public static Cursor.SystemCursor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cursor.SystemCursor c : Cursor.SystemCursor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cursor.SystemCursor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-