static enum ModelEvent.ModelCommand extends Enum<ModelEvent.ModelCommand>
Enum Constant and Description |
---|
CLAIM
Claim the model.
|
CONTROLLER
Controller.
|
CONTROLLER_CHANGE
Controller change.
|
CONTROLLER_MODEL_SETUP
Controller model setup.
|
CONTROLLER_MODEL_SETUP_CHANGE
Controller model setup change.
|
CONTROLLER_MODEL_SETUP_DELETE
Controller model setup delete.
|
CONTROLLER_MODEL_SETUP_NDW
Controller model setup new.
|
DEFAULT_PARAMETERS
Default parameters.
|
FOLDER_CONTENTS
Folder contents.
|
INIT
Init.
|
MODEL
???.
|
PROGRESS
Progress.
|
QUIT_APPLICATION
Quit application.
|
REQUEST_CONTROLLER_MODEL_SETUPS
Request controller model setups.
|
REQUEST_CONTROLLERS
Request controllers.
|
REQUEST_DEFAULT_PARAMETERS
Request default parameters.
|
REQUEST_FOLDER_CONTENTS
Request folder contents.
|
REQUEST_MODELS
Request models.
|
UNCLAIM
Unclaim the model.
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,ModelEvent.ModelCommand> |
commandMap
Map to translate numeric value to enum.
|
Modifier and Type | Method and Description |
---|---|
protected static ModelEvent.ModelCommand |
byValue(int value)
Lookup the ModelCommand that corresponds to the value.
|
int |
getValue()
Retrieve the value that represents this model command during transmission over IMB.
|
static ModelEvent.ModelCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelEvent.ModelCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelEvent.ModelCommand CLAIM
public static final ModelEvent.ModelCommand UNCLAIM
public static final ModelEvent.ModelCommand MODEL
public static final ModelEvent.ModelCommand REQUEST_MODELS
public static final ModelEvent.ModelCommand DEFAULT_PARAMETERS
public static final ModelEvent.ModelCommand REQUEST_DEFAULT_PARAMETERS
public static final ModelEvent.ModelCommand FOLDER_CONTENTS
public static final ModelEvent.ModelCommand REQUEST_FOLDER_CONTENTS
public static final ModelEvent.ModelCommand CONTROLLER
public static final ModelEvent.ModelCommand REQUEST_CONTROLLERS
public static final ModelEvent.ModelCommand CONTROLLER_CHANGE
public static final ModelEvent.ModelCommand CONTROLLER_MODEL_SETUP
public static final ModelEvent.ModelCommand REQUEST_CONTROLLER_MODEL_SETUPS
public static final ModelEvent.ModelCommand CONTROLLER_MODEL_SETUP_NDW
public static final ModelEvent.ModelCommand CONTROLLER_MODEL_SETUP_DELETE
public static final ModelEvent.ModelCommand CONTROLLER_MODEL_SETUP_CHANGE
public static final ModelEvent.ModelCommand INIT
public static final ModelEvent.ModelCommand QUIT_APPLICATION
public static final ModelEvent.ModelCommand PROGRESS
protected static Map<Integer,ModelEvent.ModelCommand> commandMap
public static ModelEvent.ModelCommand[] values()
for (ModelEvent.ModelCommand c : ModelEvent.ModelCommand.values()) System.out.println(c);
public static ModelEvent.ModelCommand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getValue()
protected static ModelEvent.ModelCommand byValue(int value)
value
- int; the value to look upCopyright © 2014–2016 Delft University of Technology. All rights reserved.