Enum InterfaceComponent.TraversalOption
- java.lang.Object
-
- java.lang.Enum<InterfaceComponent.TraversalOption>
-
- org.rspeer.game.adapter.component.InterfaceComponent.TraversalOption
-
- All Implemented Interfaces:
Serializable
,Comparable<InterfaceComponent.TraversalOption>
- Enclosing class:
- InterfaceComponent
public static enum InterfaceComponent.TraversalOption extends Enum<InterfaceComponent.TraversalOption>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterfaceComponent.TraversalOption[]
natural()
static InterfaceComponent.TraversalOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterfaceComponent.TraversalOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NESTED
public static final InterfaceComponent.TraversalOption NESTED
-
DYNAMIC
public static final InterfaceComponent.TraversalOption DYNAMIC
-
STATIC
public static final InterfaceComponent.TraversalOption STATIC
-
DEFAULT
public static final InterfaceComponent.TraversalOption DEFAULT
-
-
Method Detail
-
values
public static InterfaceComponent.TraversalOption[] 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 (InterfaceComponent.TraversalOption c : InterfaceComponent.TraversalOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceComponent.TraversalOption valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
natural
public static InterfaceComponent.TraversalOption[] natural()
-
-