edu.brook.ascape.rule
Class NotifyViews

java.lang.Object
  |
  +--edu.brook.ascape.model.AscapeObject
        |
        +--edu.brook.ascape.rule.Rule
              |
              +--edu.brook.ascape.rule.Propogate
                    |
                    +--edu.brook.ascape.rule.PropogateScapeOnly
                          |
                          +--edu.brook.ascape.rule.NotifyViews

public class NotifyViews
extends PropogateScapeOnly

A rule causing the target to notify its views that an update has occured.

Since:
1.0
Version:
1.0.1
See Also:
Serialized Form

Fields inherited from class edu.brook.ascape.model.AscapeObject
ARBITRARY_SEED, count, name, scape
 
Constructor Summary
NotifyViews(int id)
           
 
Method Summary
 void execute(Agent agent)
          Notify all views of state update.
 
Methods inherited from class edu.brook.ascape.rule.PropogateScapeOnly
isScapeOnly
 
Methods inherited from class edu.brook.ascape.rule.Propogate
isRandomExecution
 
Methods inherited from class edu.brook.ascape.rule.Rule
getScape, isCauseRemoval, isIterateAll, setScape
 
Methods inherited from class edu.brook.ascape.model.AscapeObject
clone, getName, getRandom, getRandomSeed, randomInRange, randomInRange, randomIs, randomToLimit, reseed, setName, setRandom, setRandomSeed, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotifyViews

public NotifyViews(int id)
Method Detail

execute

public void execute(Agent agent)
Notify all views of state update.
Parameters:
the - target scape
Overrides:
execute in class Propogate
See Also:
Scape#notifyViews()

(c) 1998-2000 The Brookings Insitution
Webpage