Package repast.simphony.scenario
Class ScenarioChangedSupport
- java.lang.Object
-
- repast.simphony.scenario.ScenarioChangedSupport
-
public class ScenarioChangedSupport extends Object
Support class for registering ScenarioChagedListeners and firing scenario changed events.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description ScenarioChangedSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(ScenarioChangedListener listener)
Adds a ScenarioChangedListener that will be notified when events are fired.void
fireScenarioChanged(Object src, String property)
Fires a ScenarioChangeEvent to all the listeners.
-
-
-
Method Detail
-
addListener
public void addListener(ScenarioChangedListener listener)
Adds a ScenarioChangedListener that will be notified when events are fired.- Parameters:
listener
-
-
-