org.jactr.core.model.event
Enum ModelEvent.Type
java.lang.Object
java.lang.Enum<ModelEvent.Type>
org.jactr.core.model.event.ModelEvent.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ModelEvent.Type>
- Enclosing class:
- ModelEvent
public static enum ModelEvent.Type
- extends java.lang.Enum<ModelEvent.Type>
|
Method Summary |
static ModelEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ModelEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MODULE_INSTALLED
public static final ModelEvent.Type MODULE_INSTALLED
EXTENSION_INSTALLED
public static final ModelEvent.Type EXTENSION_INSTALLED
INSTRUMENT_INSTALLED
public static final ModelEvent.Type INSTRUMENT_INSTALLED
BUFFER_INSTALLED
public static final ModelEvent.Type BUFFER_INSTALLED
INITIALIZED
public static final ModelEvent.Type INITIALIZED
CONNECTED
public static final ModelEvent.Type CONNECTED
DISCONNECTED
public static final ModelEvent.Type DISCONNECTED
STARTED
public static final ModelEvent.Type STARTED
SUSPENDED
public static final ModelEvent.Type SUSPENDED
RESUMED
public static final ModelEvent.Type RESUMED
STOPPED
public static final ModelEvent.Type STOPPED
CYCLE_STARTED
public static final ModelEvent.Type CYCLE_STARTED
CYCLE_STOPPED
public static final ModelEvent.Type CYCLE_STOPPED
EXCEPTION
public static final ModelEvent.Type EXCEPTION
values
public static final ModelEvent.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ModelEvent.Type c : ModelEvent.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ModelEvent.Type 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