uk.co.agena.minerva.model.scenario
Class ScenarioEvent

java.lang.Object
  extended by java.util.EventObject
      extended by uk.co.agena.minerva.model.scenario.ScenarioEvent
All Implemented Interfaces:
java.io.Serializable

public class ScenarioEvent
extends java.util.EventObject

ScenarioEvent is used to notify interested parties that a Scenario has changed in some way.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTECHANGED_DISPLAY_ON_GRAPH
           
static int ATTRIBUTECHANGED_NAME
           
static int ATTRIBUTECHANGED_REPORTABLE
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ScenarioEvent(Scenario scenario, java.util.List observations)
          Constructs a new ScenarioEvent.
 
Method Summary
 java.util.List getObservations()
          Returns the Observations that have been added to or removed from the Scenario.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTECHANGED_REPORTABLE

public static final int ATTRIBUTECHANGED_REPORTABLE
See Also:
Constant Field Values

ATTRIBUTECHANGED_NAME

public static final int ATTRIBUTECHANGED_NAME
See Also:
Constant Field Values

ATTRIBUTECHANGED_DISPLAY_ON_GRAPH

public static final int ATTRIBUTECHANGED_DISPLAY_ON_GRAPH
See Also:
Constant Field Values
Constructor Detail

ScenarioEvent

public ScenarioEvent(Scenario scenario,
                     java.util.List observations)
Constructs a new ScenarioEvent.

Parameters:
scenario - the Scenario that generated the event
observations - the Observations that have been added or removed
Method Detail

getObservations

public java.util.List getObservations()
Returns the Observations that have been added to or removed from the Scenario.



Copyright © 2006 Agena Ltd. All Rights Reserved.