|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Simulation
Simulations are Animations that invoke methods before starting their animation thread and after stopping their animation thread. This interface is a placeholder for animations that behave in a certain way.
| Method Summary | |
|---|---|
boolean |
isRunning()
Tests if the simulations's animation thread is running. |
void |
startSimulation()
Starts the simulation thread. |
void |
stopSimulation()
Stops the simulation thread. |
| Methods inherited from interface org.opensourcephysics.controls.Animation |
|---|
initializeAnimation, resetAnimation, setControl, startAnimation, stepAnimation, stopAnimation |
| Method Detail |
|---|
boolean isRunning()
void startSimulation()
void stopSimulation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||