|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A view which listens to (is an observer of) an agent scape. The view must be a sublclass of java.awt.component.
| Method Summary | |
void |
build()
Prepare the component view, once the view's scape has been created. |
GraphicsRecorder |
getGraphicsRecorder()
Returns a recorder that can be used to record the graphics of this view. |
Scape |
getScape()
Returns the scape this listener is observing. |
java.awt.Dimension |
getSize()
|
ViewFrameBridge |
getViewFrame()
Return the view frame this component is being displayed within. |
void |
paint(java.awt.Graphics g)
|
void |
setGraphicsRecorder(GraphicsRecorder recorder)
Sets the recorder that can be used to record the graphics of this view. |
void |
setViewFrame(ViewFrameBridge frame)
Sets the view frame this component is being displayed within. |
| Methods inherited from interface edu.brook.ascape.model.ScapeListener |
addScape,
removeScape,
scapeUpdated |
| Methods inherited from interface edu.brook.ascape.util.HasName |
getName |
| Method Detail |
public void build()
public Scape getScape()
public ViewFrameBridge getViewFrame()
public void setViewFrame(ViewFrameBridge frame)
public GraphicsRecorder getGraphicsRecorder()
public void setGraphicsRecorder(GraphicsRecorder recorder)
public void paint(java.awt.Graphics g)
public java.awt.Dimension getSize()
|
(c) 1998-2000 The Brookings Insitution Webpage |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||