org.jmol.constant
Enum EnumCallback
java.lang.Object
java.lang.Enum<EnumCallback>
org.jmol.constant.EnumCallback
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EnumCallback>
public enum EnumCallback
- extends java.lang.Enum<EnumCallback>
Field Summary |
private java.lang.String |
name
|
private static java.lang.String |
nameList
|
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ANIMFRAME
public static final EnumCallback ANIMFRAME
APPLETREADY
public static final EnumCallback APPLETREADY
ATOMMOVED
public static final EnumCallback ATOMMOVED
CLICK
public static final EnumCallback CLICK
ECHO
public static final EnumCallback ECHO
ERROR
public static final EnumCallback ERROR
EVAL
public static final EnumCallback EVAL
HOVER
public static final EnumCallback HOVER
LOADSTRUCT
public static final EnumCallback LOADSTRUCT
MEASURE
public static final EnumCallback MEASURE
MESSAGE
public static final EnumCallback MESSAGE
MINIMIZATION
public static final EnumCallback MINIMIZATION
PICK
public static final EnumCallback PICK
RESIZE
public static final EnumCallback RESIZE
SCRIPT
public static final EnumCallback SCRIPT
SYNC
public static final EnumCallback SYNC
name
private final java.lang.String name
nameList
private static final java.lang.String nameList
values
public static EnumCallback[] 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 (EnumCallback c : EnumCallback.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnumCallback 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 name
java.lang.NullPointerException
- if the argument is null
getName
public java.lang.String getName()
getCallback
public static EnumCallback getCallback(java.lang.String name)
getNameList
public static java.lang.String getNameList()