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 Details

    • ScenarioChangedSupport

      public ScenarioChangedSupport()
  • Method Details

    • addListener

      public void addListener(ScenarioChangedListener listener)
      Adds a ScenarioChangedListener that will be notified when events are fired.
      Parameters:
      listener -
    • fireScenarioChanged

      public void fireScenarioChanged(Object src, String property)
      Fires a ScenarioChangeEvent to all the listeners.
      Parameters:
      src -
      property -