uk.co.agena.minerva.model.scenario
Interface ScenarioListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Model

public interface ScenarioListener
extends java.util.EventListener

A listener for ScenarioEvents. Any object interested in such events should implement this interface.


Method Summary
 void observationsAdded(ScenarioEvent se, java.util.List obs, boolean allowAutoPropagation)
          Invoked whenever an Observation has been added to a Scenario.
 void observationsRemoved(ScenarioEvent se, java.util.List obs, boolean allowAutoPropagation)
          Invoked whenever an Observation has been removed from a Scenario.
 void scenarioAttributeChanged(ScenarioEvent se, int attribute)
          Fired whenever an attribute of the scenario is modified.
 

Method Detail

observationsAdded

void observationsAdded(ScenarioEvent se,
                       java.util.List obs,
                       boolean allowAutoPropagation)
Invoked whenever an Observation has been added to a Scenario.

Parameters:
se - the event encapsulating information about the change
allowAutoPropagation - If this flag is set to false Auto Propagation will not occur even if Auto Propagation is ON.

observationsRemoved

void observationsRemoved(ScenarioEvent se,
                         java.util.List obs,
                         boolean allowAutoPropagation)
Invoked whenever an Observation has been removed from a Scenario.

Parameters:
se - the event encapsulating information about the change

scenarioAttributeChanged

void scenarioAttributeChanged(ScenarioEvent se,
                              int attribute)
Fired whenever an attribute of the scenario is modified. The constants for the second arguement are defined in the Scenario Event class

Parameters:
se -
attribute -


Copyright © 2006 Agena Ltd. All Rights Reserved.