org.ascape.model.rule
Class NotifyViewsEvent

java.lang.Object
  extended by org.ascape.model.AscapeObject
      extended by org.ascape.model.rule.Rule
          extended by org.ascape.model.rule.Propogate
              extended by org.ascape.model.rule.PropogateScapeOnly
                  extended by org.ascape.model.rule.NotifyViewsEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HasName, RandomFunctions

public class NotifyViewsEvent
extends PropogateScapeOnly

The Class NotifyViewsEvent.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ascape.model.AscapeObject
ARBITRARY_SEED, name, scape
 
Constructor Summary
NotifyViewsEvent(ScapeEvent event)
          Instantiates a new notify views event.
 
Method Summary
 void execute(Agent agent)
          Notify all views of state update.
 
Methods inherited from class org.ascape.model.rule.PropogateScapeOnly
isScapeOnly
 
Methods inherited from class org.ascape.model.rule.Propogate
isRandomExecution
 
Methods inherited from class org.ascape.model.rule.Rule
getScape, isCauseRemoval, isIterateAll, setScape
 
Methods inherited from class org.ascape.model.AscapeObject
clone, diffDeep, diffDeep, diffDeepBFS, diffDeepDFS, diffDeepValidate, diffDeepVisit, equalsDeep, equalsDeep, equalsDeep, getComparisonStream, getName, getRandom, getRandomSeed, randomInRange, randomInRange, randomIs, randomToLimit, reseed, setComparisonStream, setName, setRandom, setRandomSeed, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotifyViewsEvent

public NotifyViewsEvent(ScapeEvent event)
Instantiates a new notify views event.

Parameters:
event - the event
Method Detail

execute

public void execute(Agent agent)
Notify all views of state update.

Overrides:
execute in class Propogate
Parameters:
agent - the agent (scape) to notify veiws
See Also:
Scape.notifyViews(int)


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.