Enum InteractionSetting
- java.lang.Object
-
- java.lang.Enum<InteractionSetting>
-
- org.dreambot.api.input.event.impl.InteractionSetting
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InteractionSetting>
public enum InteractionSetting extends java.lang.Enum<InteractionSetting>
Created by Nezz on 3/15/2015.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_SETTING
FORCE_LEFT_CLICK
FORCE_RIGHT_CLICK
MOVE
ROTATE_CAMERA
ZOOM_CAMERA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
contains(InteractionSetting[] settings, InteractionSetting contain)
static InteractionSetting
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InteractionSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOVE
public static final InteractionSetting MOVE
-
ROTATE_CAMERA
public static final InteractionSetting ROTATE_CAMERA
-
FORCE_LEFT_CLICK
public static final InteractionSetting FORCE_LEFT_CLICK
-
FORCE_RIGHT_CLICK
public static final InteractionSetting FORCE_RIGHT_CLICK
-
ZOOM_CAMERA
public static final InteractionSetting ZOOM_CAMERA
-
EMPTY_SETTING
public static final InteractionSetting EMPTY_SETTING
-
-
Method Detail
-
values
public static InteractionSetting[] 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 (InteractionSetting c : InteractionSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InteractionSetting 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
-
contains
public static boolean contains(InteractionSetting[] settings, InteractionSetting contain)
-
-