Package gov.nasa.worldwind.awt
Enum ViewInputAttributes.ActionAttributes.ActionTrigger
- java.lang.Object
-
- java.lang.Enum<ViewInputAttributes.ActionAttributes.ActionTrigger>
-
- gov.nasa.worldwind.awt.ViewInputAttributes.ActionAttributes.ActionTrigger
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ViewInputAttributes.ActionAttributes.ActionTrigger>
- Enclosing class:
- ViewInputAttributes.ActionAttributes
public static enum ViewInputAttributes.ActionAttributes.ActionTrigger extends java.lang.Enum<ViewInputAttributes.ActionAttributes.ActionTrigger>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_DRAG
ON_KEY_DOWN
ON_PRESS
ON_RELEASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ViewInputAttributes.ActionAttributes.ActionTrigger
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ViewInputAttributes.ActionAttributes.ActionTrigger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_PRESS
public static final ViewInputAttributes.ActionAttributes.ActionTrigger ON_PRESS
-
ON_DRAG
public static final ViewInputAttributes.ActionAttributes.ActionTrigger ON_DRAG
-
ON_KEY_DOWN
public static final ViewInputAttributes.ActionAttributes.ActionTrigger ON_KEY_DOWN
-
ON_RELEASE
public static final ViewInputAttributes.ActionAttributes.ActionTrigger ON_RELEASE
-
-
Method Detail
-
values
public static ViewInputAttributes.ActionAttributes.ActionTrigger[] 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 (ViewInputAttributes.ActionAttributes.ActionTrigger c : ViewInputAttributes.ActionAttributes.ActionTrigger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewInputAttributes.ActionAttributes.ActionTrigger 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
-
-