ix.ip2
Class StateViewMap

java.lang.Object
  |
  +--ToolFrame
        |
        +--ix.ip2.StateViewMap

public class StateViewMap
extends ToolFrame

See Also:
Serialized Form

Nested Class Summary
protected  class StateViewMap.MapToolController
          Auxiliar class to add the map tool into the agent frame.
 
Field Summary
protected  Ip2 ip2
           
 MapTool mapTool
           
 
Constructor Summary
StateViewMap(Ip2 ip2)
          Constructs a viewer for the indicated agent.
 
Method Summary
 java.awt.Component getView(PanelFrame frame)
          Returns a component that represents a state table
 void newBindings(ProcessStatusEvent event, java.util.Map bindings)
          Ignored by this viewer.
protected  void recordNewValue(LList pattern, java.lang.Object value)
           
 void reset()
          Sets the viewer back to something approximating its initial state.
 void sendConstraint(PatternAssignment pa)
          Sends a constraint to agent
 void stateChange(ProcessStatusEvent event, java.util.Map delta)
          Updates the viewers according to the current state of the agent.
 void stateDeletion(ProcessStatusEvent event, java.util.Map delta)
          Deletes the states no more used by the agent.
 void statusUpdate(ProcessStatusEvent event)
          Ignored by this viewer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ip2

protected Ip2 ip2

mapTool

public MapTool mapTool
Constructor Detail

StateViewMap

public StateViewMap(Ip2 ip2)
Constructs a viewer for the indicated agent.

Method Detail

getView

public java.awt.Component getView(PanelFrame frame)
Returns a component that represents a state table


sendConstraint

public void sendConstraint(PatternAssignment pa)
Sends a constraint to agent


reset

public void reset()
Sets the viewer back to something approximating its initial state.


statusUpdate

public void statusUpdate(ProcessStatusEvent event)
Ignored by this viewer.


newBindings

public void newBindings(ProcessStatusEvent event,
                        java.util.Map bindings)
Ignored by this viewer.


stateDeletion

public void stateDeletion(ProcessStatusEvent event,
                          java.util.Map delta)
Deletes the states no more used by the agent.


stateChange

public void stateChange(ProcessStatusEvent event,
                        java.util.Map delta)
Updates the viewers according to the current state of the agent.


recordNewValue

protected void recordNewValue(LList pattern,
                              java.lang.Object value)