|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.generation5.swing.VisStepApplet.DefaultActions
These are the default actions for VisStepApplets.
| Constructor Summary | |
protected |
VisStepApplet.DefaultActions()
|
| Method Summary | |
void |
mouseClicked(java.awt.event.MouseEvent evt)
No default action for mouse clicks. |
void |
resetButton(java.awt.event.ActionEvent evt)
Stop the timer and run the Steppable's reset method. |
void |
startButton(java.awt.event.ActionEvent evt)
Start the timer. |
void |
stepButton(java.awt.event.ActionEvent evt)
Stop the timer, and advance the Steppable one timestep using doStep. |
void |
timer(java.awt.event.ActionEvent evt)
Advances the applet by one timestep, calling doStep and repainting
the visualization panel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected VisStepApplet.DefaultActions()
| Method Detail |
public void startButton(java.awt.event.ActionEvent evt)
startButton in interface VisStepListenerevt - an action event.public void stepButton(java.awt.event.ActionEvent evt)
doStep.
stepButton in interface VisStepListenerevt - an actiob event.public void resetButton(java.awt.event.ActionEvent evt)
reset method.
resetButton in interface VisStepListenerevt - an action event.public void timer(java.awt.event.ActionEvent evt)
doStep and repainting
the visualization panel.
timer in interface VisStepListenerevt - an action event.public void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked in interface VisStepListenerevt - a mouse event.VisualizationPanel
|
This documentation is part of the Generation5 JDK.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||