MOEA Framework 2.12
API Specification

org.moeaframework.analysis.diagnostics
Class ControllerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.moeaframework.analysis.diagnostics.ControllerEvent
All Implemented Interfaces:
Serializable

public class ControllerEvent
extends EventObject

Identifies the type of event fired by the controller.

See Also:
Serialized Form

Nested Class Summary
static class ControllerEvent.Type
          Enumeration of controller event types.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ControllerEvent(Controller controller, ControllerEvent.Type type)
          Constructs a new controller event of the specified type.
 
Method Summary
 Controller getSource()
           
 ControllerEvent.Type getType()
          Returns the type of this event.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControllerEvent

public ControllerEvent(Controller controller,
                       ControllerEvent.Type type)
Constructs a new controller event of the specified type.

Parameters:
controller - the controller from which this event originates
type - the type of this event
Method Detail

getType

public ControllerEvent.Type getType()
Returns the type of this event.

Returns:
the type of this event.

getSource

public Controller getSource()
Overrides:
getSource in class EventObject

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!