Enum CrosshairState
- java.lang.Object
-
- java.lang.Enum<CrosshairState>
-
- org.dreambot.api.methods.input.mouse.CrosshairState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CrosshairState>
public enum CrosshairState extends java.lang.Enum<CrosshairState>
Created with IntelliJ IDEA.- Since:
- : 1/11/2015 Time : 11:30 PM
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLICKED
IDLE
INTERACTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
Gets ID of the mouse color index.java.lang.String
toString()
static CrosshairState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CrosshairState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final CrosshairState IDLE
-
CLICKED
public static final CrosshairState CLICKED
-
INTERACTED
public static final CrosshairState INTERACTED
-
-
Method Detail
-
values
public static CrosshairState[] 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 (CrosshairState c : CrosshairState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrosshairState 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
-
getId
public int getId()
Gets ID of the mouse color index.- Returns:
- the color id
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<CrosshairState>
-
-