Class Observer

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.simtoolsgui.GUISwarmImpl
              |
              +--Observer
All Implemented Interfaces:
swarm.activity.ActionType, swarm.activity.ActionTypeS, swarm.defobj.Create, swarm.defobj.CreateS, swarm.defobj.Customize, swarm.defobj.CustomizeS, swarm.defobj.DefinedObject, swarm.defobj.DefinedObjectS, swarm.defobj.Drop, swarm.defobj.DropS, swarm.defobj.GetName, swarm.defobj.GetNameS, swarm.simtoolsgui.GUISwarm, swarm.simtoolsgui.GUISwarmS, swarm.objectbase.Swarm, swarm.activity.SwarmProcess, swarm.activity.SwarmProcessS, swarm.objectbase.SwarmS, swarm.activity.SynchronizationType, swarm.activity.SynchronizationTypeS, swarm.simtoolsgui.WindowGeometryRecordName, swarm.simtoolsgui.WindowGeometryRecordNameS, swarm.defobj.Zone, swarm.defobj.ZoneS

public class Observer
extends swarm.simtoolsgui.GUISwarmImpl


Field Summary
 swarm.activity.ActionGroup displayActions
          ActionGroup for sequence of GUI events
 int displayFrequency
          update frequency for graphs
 swarm.activity.Schedule displaySchedule
          the single Schedule instance
 Model modelSwarm
          the Swarm we're observing
 int nOfAgents
           
 swarm.analysis.EZGraph studentGraph
           
 
Fields inherited from class swarm.simtoolsgui.GUISwarmImpl
actionCache, controlPanel
 
Constructor Summary
Observer(swarm.defobj.Zone aZone, int num)
           
 
Method Summary
 java.lang.Object _studentGraphDeath_(java.lang.Object caller)
           
 java.lang.Object _update_()
           
 swarm.activity.Activity activateIn(swarm.objectbase.Swarm swarmContext)
           
 java.lang.Object buildActions()
           
 java.lang.Object buildObjects()
           
 void drop()
           
 
Methods inherited from class swarm.simtoolsgui.GUISwarmImpl
allocIVars, allocIVarsComponent, compare, copyIVars, copyIVarsComponent, describe, describeForEach, describeForEachID, describeID, freeIVars, freeIVarsComponent, getActionCache, getActivity, getCompleteProbeMap, getComponentZone, getControlPanel, getDisplayName, getInternalZone, getName, getPageSize, getPopulation, getProbeForVariable, getProbeMap, getSynchronizationType, getTypeName, getZone, go, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayFrequency

public int displayFrequency
update frequency for graphs

nOfAgents

public int nOfAgents

displayActions

public swarm.activity.ActionGroup displayActions
ActionGroup for sequence of GUI events

displaySchedule

public swarm.activity.Schedule displaySchedule
the single Schedule instance

modelSwarm

public Model modelSwarm
the Swarm we're observing

studentGraph

public swarm.analysis.EZGraph studentGraph
Constructor Detail

Observer

public Observer(swarm.defobj.Zone aZone,
                int num)
Method Detail

_studentGraphDeath_

public java.lang.Object _studentGraphDeath_(java.lang.Object caller)

buildObjects

public java.lang.Object buildObjects()
Overrides:
buildObjects in class swarm.simtoolsgui.GUISwarmImpl

_update_

public java.lang.Object _update_()

buildActions

public java.lang.Object buildActions()
Overrides:
buildActions in class swarm.simtoolsgui.GUISwarmImpl

activateIn

public swarm.activity.Activity activateIn(swarm.objectbase.Swarm swarmContext)
Overrides:
activateIn in class swarm.simtoolsgui.GUISwarmImpl

drop

public void drop()
Overrides:
drop in class swarm.simtoolsgui.GUISwarmImpl