Package net.storm.api.interact
Enum MouseBehavior
- java.lang.Object
-
- java.lang.Enum<MouseBehavior>
-
- net.storm.api.interact.MouseBehavior
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MouseBehavior>
public enum MouseBehavior extends java.lang.Enum<MouseBehavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLICKBOXES
DISABLED
MOUSE_POS
OFF_SCREEN
RANDOM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MouseBehavior
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MouseBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLICKBOXES
public static final MouseBehavior CLICKBOXES
-
OFF_SCREEN
public static final MouseBehavior OFF_SCREEN
-
RANDOM
public static final MouseBehavior RANDOM
-
MOUSE_POS
public static final MouseBehavior MOUSE_POS
-
DISABLED
public static final MouseBehavior DISABLED
-
-
Method Detail
-
values
public static MouseBehavior[] 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 (MouseBehavior c : MouseBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MouseBehavior 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
-
-