Package repast.simphony.scenario
Class ScenarioChangedSupport
java.lang.Object
repast.simphony.scenario.ScenarioChangedSupport
Support class for registering ScenarioChagedListeners and firing scenario changed events.
- Author:
- Nick Collier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddListener(ScenarioChangedListener listener) Adds a ScenarioChangedListener that will be notified when events are fired.voidfireScenarioChanged(Object src, String property) Fires a ScenarioChangeEvent to all the listeners.
- 
Constructor Details- 
ScenarioChangedSupportpublic ScenarioChangedSupport()
 
- 
- 
Method Details- 
addListenerAdds a ScenarioChangedListener that will be notified when events are fired.- Parameters:
- listener-
 
- 
fireScenarioChangedFires a ScenarioChangeEvent to all the listeners.- Parameters:
- src-
- property-
 
 
-