ix.ip2
Class NullStateViewer

java.lang.Object
  extended by ix.ip2.NullStateViewer
All Implemented Interfaces:
ProcessStatusListener, StateViewer, java.util.EventListener
Direct Known Subclasses:
SyncStateClient.ProcessListener, SyncStateServer.ProcessListener

 class NullStateViewer
extends java.lang.Object
implements StateViewer

An implementation of StateViewer that does nothing.


Constructor Summary
NullStateViewer()
           
 
Method Summary
 java.awt.Component getView(PanelFrame panelFrame)
          Return the GUI component that should be placed in the agent's main user-interface frame.
 void newBindings(ProcessStatusEvent event, java.util.Map bindings)
           
 void reset()
          Sets the viewer back to its initial state (or a reasonable approximation).
 void stateChange(ProcessStatusEvent event, java.util.Map delta)
           
 void stateDeletion(ProcessStatusEvent event, java.util.Map delta)
           
 void statusUpdate(ProcessStatusEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullStateViewer

NullStateViewer()
Method Detail

getView

public java.awt.Component getView(PanelFrame panelFrame)
Description copied from interface: StateViewer
Return the GUI component that should be placed in the agent's main user-interface frame. The frame is passed as a parameter in case different objects must be returned for different frame classes.

Specified by:
getView in interface StateViewer

reset

public void reset()
Description copied from interface: StateViewer
Sets the viewer back to its initial state (or a reasonable approximation).

Specified by:
reset in interface StateViewer

statusUpdate

public void statusUpdate(ProcessStatusEvent event)
Specified by:
statusUpdate in interface ProcessStatusListener

newBindings

public void newBindings(ProcessStatusEvent event,
                        java.util.Map bindings)
Specified by:
newBindings in interface ProcessStatusListener

stateChange

public void stateChange(ProcessStatusEvent event,
                        java.util.Map delta)
Specified by:
stateChange in interface ProcessStatusListener

stateDeletion

public void stateDeletion(ProcessStatusEvent event,
                          java.util.Map delta)
Specified by:
stateDeletion in interface ProcessStatusListener