com.yobotics.simulationconstructionset.plotting
Class SimulationOverheadPlotter

java.lang.Object
  extended by com.yobotics.simulationconstructionset.plotting.SimulationOverheadPlotter
All Implemented Interfaces:
IndexChangedListener, PlaybackListener

public class SimulationOverheadPlotter
extends java.lang.Object
implements PlaybackListener


Constructor Summary
SimulationOverheadPlotter()
           
 
Method Summary
 javax.swing.JFrame createAndDisplayJFrame()
           
 javax.swing.JMenuBar getJMenuBar()
           
 javax.swing.JPanel getJPanel()
           
 javax.swing.JPanel getJPanelKey()
           
 javax.swing.JPanel getJPanelWithCheckBoxes()
           
 Plotter getPlotter()
           
 void indexChanged(int newIndex, double newTime)
           
 void play(double realTimeRate)
           
 void setDrawHistory(boolean drawHistory)
           
 void setXVariableToTrack(DoubleYoVariable xVariableToTrack)
           
 void setYVariableToTrack(DoubleYoVariable yVariableToTrack)
           
 void stop()
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationOverheadPlotter

public SimulationOverheadPlotter()
Method Detail

createAndDisplayJFrame

public javax.swing.JFrame createAndDisplayJFrame()

setXVariableToTrack

public void setXVariableToTrack(DoubleYoVariable xVariableToTrack)

setYVariableToTrack

public void setYVariableToTrack(DoubleYoVariable yVariableToTrack)

setDrawHistory

public void setDrawHistory(boolean drawHistory)

getJMenuBar

public javax.swing.JMenuBar getJMenuBar()

getPlotter

public Plotter getPlotter()

getJPanel

public javax.swing.JPanel getJPanel()

getJPanelWithCheckBoxes

public javax.swing.JPanel getJPanelWithCheckBoxes()

getJPanelKey

public javax.swing.JPanel getJPanelKey()

update

public void update()

indexChanged

public void indexChanged(int newIndex,
                         double newTime)
Specified by:
indexChanged in interface IndexChangedListener

play

public void play(double realTimeRate)
Specified by:
play in interface PlaybackListener

stop

public void stop()
Specified by:
stop in interface PlaybackListener