MOEA Framework 2.12
API Specification

org.moeaframework.analysis.diagnostics
Enum ControllerEvent.Type

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

public static enum ControllerEvent.Type
extends Enum<ControllerEvent.Type>

Enumeration of controller event types.


Enum Constant Summary
MODEL_CHANGED
          Indicates the underlying data model has changed.
PROGRESS_CHANGED
          Indicates the progress of the evaluation has changed.
STATE_CHANGED
          Indicates the state of the controller changed.
VIEW_CHANGED
          Indicates the viewing options changed.
 
Method Summary
static ControllerEvent.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ControllerEvent.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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 Detail

values

public static ControllerEvent.Type[] 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 (ControllerEvent.Type c : ControllerEvent.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ControllerEvent.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!