|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.gui.VisualRadioMonitor.VisualMonitor
Field Summary | |
ProgramProfiler |
profile
|
Program |
program
|
Simulator |
simulator
|
GraphEvents |
theGraph
|
javax.swing.JPanel |
visualOptionsPanel
|
javax.swing.JPanel |
visualPanel
|
java.lang.Object |
vSync
|
Method Summary | |
GraphEvents |
getGraph()
This is a temporary hack...once Global Monitors is rewritten to be more robust, this will be deleted |
void |
report()
The report() method generates a textual report after the simulation is complete.
|
void |
setVisualPanel(javax.swing.JPanel thePanel,
javax.swing.JPanel theOptionsPanel)
This is called right after a monitor is actually init (when the sim is just beginning It physically let's the new monitor "know" about it's painting surfaces Note that it's possible with the new implementation that this function will be unnecessary |
void |
updateDataAndPaint()
This function should be called by the thread that periodically repaints the monitors chalkaboard. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final Simulator simulator
public final Program program
public final ProgramProfiler profile
public javax.swing.JPanel visualPanel
public javax.swing.JPanel visualOptionsPanel
public GraphEvents theGraph
public java.lang.Object vSync
Method Detail |
public void updateDataAndPaint()
VisualMonitor
updateDataAndPaint
in interface VisualMonitor
public GraphEvents getGraph()
VisualMonitor
getGraph
in interface VisualMonitor
public void setVisualPanel(javax.swing.JPanel thePanel, javax.swing.JPanel theOptionsPanel)
VisualMonitor
Note that it's possible with the new implementation that this function will be unnecessary
setVisualPanel
in interface VisualMonitor
thePanel
- The main display panel for the monitortheOptionsPanel
- The panel that the monitor can display options topublic void report()
report()
method generates a textual report after the simulation is complete.
The report does nothing in this case, because this is a visual monitor
report
in interface VisualMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |