|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectix.ip2.ObjectWhiteboard
public class ObjectWhiteboard
Constructor Summary | |
---|---|
|
ObjectWhiteboard(Ip2 ip2)
Create a viewer for the indicated agent. |
protected |
ObjectWhiteboard(Ip2 ip2,
java.util.SortedMap nameToViews)
Create a viewer for the indicated agent with references to any existing views. |
Method Summary | |
---|---|
ObjectView |
getObjectView()
|
ObjectView |
getObjectView(java.lang.String name)
|
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)
Ignored by this viewer. |
java.util.SortedMap |
readViews(java.lang.String directoryName)
Tries to read an ObjectView from each file in the indicated directory that might contain one. |
void |
reset()
Sets the viewer back to its initial state (or a reasonable approximation). |
void |
setObjectView(ObjectView view)
|
void |
setObjectView(java.lang.String name)
|
void |
setVisible(boolean v)
|
void |
stateChange(ProcessStatusEvent event,
java.util.Map delta)
|
void |
stateDeletion(ProcessStatusEvent event,
java.util.Map delta)
|
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 |
Constructor Detail |
---|
public ObjectWhiteboard(Ip2 ip2)
protected ObjectWhiteboard(Ip2 ip2, java.util.SortedMap nameToViews)
Method Detail |
---|
public void setVisible(boolean v)
public java.awt.Component getView(PanelFrame panelFrame)
StateViewer
getView
in interface StateViewer
public void reset()
StateViewer
reset
in interface StateViewer
public void statusUpdate(ProcessStatusEvent event)
statusUpdate
in interface ProcessStatusListener
public void newBindings(ProcessStatusEvent event, java.util.Map bindings)
newBindings
in interface ProcessStatusListener
public void stateChange(ProcessStatusEvent event, java.util.Map delta)
stateChange
in interface ProcessStatusListener
public void stateDeletion(ProcessStatusEvent event, java.util.Map delta)
stateDeletion
in interface ProcessStatusListener
public ObjectView getObjectView()
public ObjectView getObjectView(java.lang.String name)
public void setObjectView(java.lang.String name)
public void setObjectView(ObjectView view)
public java.util.SortedMap readViews(java.lang.String directoryName)
ObjectView
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |