org.jmol.constant
Enum EnumAnimationMode
java.lang.Object
java.lang.Enum<EnumAnimationMode>
org.jmol.constant.EnumAnimationMode
- All Implemented Interfaces:
- Serializable, Comparable<EnumAnimationMode>
public enum EnumAnimationMode
- extends Enum<EnumAnimationMode>
Enum for animation mode.
ONCE
public static final EnumAnimationMode ONCE
LOOP
public static final EnumAnimationMode LOOP
PALINDROME
public static final EnumAnimationMode PALINDROME
name
private String name
values
public static EnumAnimationMode[] 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 (EnumAnimationMode c : EnumAnimationMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnumAnimationMode 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 name
NullPointerException - if the argument is null
getName
public String getName()