Enum Class ControllerEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<ControllerEvent.Type>
,Constable
- Enclosing class:
- ControllerEvent
Enumeration of controller event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates the underlying data model has changed.Indicates the progress of the evaluation has changed.Indicates one or more settings were changed, typically requiring GUI elements to update.Indicates the state of the controller changed.Indicates the viewing options changed. -
Method Summary
Modifier and TypeMethodDescriptionstatic ControllerEvent.Type
Returns the enum constant of this class with the specified name.static ControllerEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SETTINGS_CHANGED
Indicates one or more settings were changed, typically requiring GUI elements to update. -
STATE_CHANGED
Indicates the state of the controller changed. The state changes when an evaluation job starts and stops. The state can be determined by invokingController.isRunning()
. -
MODEL_CHANGED
Indicates the underlying data model has changed. The model changes when new results are added or the results are cleared. -
PROGRESS_CHANGED
Indicates the progress of the evaluation has changed. The progress can be queried throughController.getRunProgress()
andController.getOverallProgress()
. -
VIEW_CHANGED
Indicates the viewing options changed. These events are primarily caused by changing how the data is plotted inDiagnosticTool
.
-
-
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
-