Enum Class ControllerEvent.Type

java.lang.Object
java.lang.Enum<ControllerEvent.Type>
org.moeaframework.analysis.diagnostics.ControllerEvent.Type
All Implemented Interfaces:
Serializable, Comparable<ControllerEvent.Type>, Constable
Enclosing class:
ControllerEvent

public static enum ControllerEvent.Type extends Enum<ControllerEvent.Type>
Enumeration of controller event types.
  • Enum Constant Details

    • SETTINGS_CHANGED

      public static final ControllerEvent.Type SETTINGS_CHANGED
      Indicates one or more settings were changed, typically requiring GUI elements to update.
    • STATE_CHANGED

      public static final ControllerEvent.Type 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 invoking Controller.isRunning().
    • MODEL_CHANGED

      public static final ControllerEvent.Type MODEL_CHANGED
      Indicates the underlying data model has changed. The model changes when new results are added or the results are cleared.
    • PROGRESS_CHANGED

      public static final ControllerEvent.Type PROGRESS_CHANGED
      Indicates the progress of the evaluation has changed. The progress can be queried through Controller.getRunProgress() and Controller.getOverallProgress().
    • VIEW_CHANGED

      public static final ControllerEvent.Type VIEW_CHANGED
      Indicates the viewing options changed. These events are primarily caused by changing how the data is plotted in DiagnosticTool.
  • Method Details

    • values

      public static ControllerEvent.Type[] 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

      public static ControllerEvent.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null