Enum Class ComplexSpatialController.RepeatType
java.lang.Object
java.lang.Enum<ComplexSpatialController.RepeatType>
com.ardor3d.scenegraph.controller.ComplexSpatialController.RepeatType
- All Implemented Interfaces:
Serializable
,Comparable<ComplexSpatialController.RepeatType>
,Constable
- Enclosing class:
ComplexSpatialController<T extends Spatial>
public static enum ComplexSpatialController.RepeatType
extends Enum<ComplexSpatialController.RepeatType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA clamped repeat type signals that the controller should look like its final state when it's done
Example: 0 1 5 8 9 10 10 10 10 10 10 10 10 10 10 10...A cycled repeat type signals that the controller should cycle it's states forwards and backwards
Example: 0 1 5 8 9 10 9 8 5 1 0 1 5 8 9 10 9 ....A wrapped repeat type signals that the controller should start back at the begining when it's final state is reached
Example: 0 1 5 8 9 10 0 1 5 8 9 10 0 1 5 .... -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ComplexSpatialController.RepeatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLAMP
A clamped repeat type signals that the controller should look like its final state when it's done
Example: 0 1 5 8 9 10 10 10 10 10 10 10 10 10 10 10... -
WRAP
A wrapped repeat type signals that the controller should start back at the begining when it's final state is reached
Example: 0 1 5 8 9 10 0 1 5 8 9 10 0 1 5 .... -
CYCLE
A cycled repeat type signals that the controller should cycle it's states forwards and backwards
Example: 0 1 5 8 9 10 9 8 5 1 0 1 5 8 9 10 9 ....
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-