|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.controls.AbstractAnimation
org.opensourcephysics.sip.ch01.SHOView
public class SHOView
SHOView draws the oscillator in a drawing panel and plots the oscillator position graph. The oscillator is represented as a red ball.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.controls.AbstractAnimation |
|---|
animationThread, control, decimalFormat, delayTime, mainFrame |
| Constructor Summary | |
|---|---|
SHOView()
Constructs SHOView. |
|
| Method Summary | |
|---|---|
protected void |
doStep()
Does an animation step. |
void |
initializeAnimation()
Initializes the animation. |
void |
resetAnimation()
Resets the animation to a predefined state. |
| Methods inherited from class org.opensourcephysics.controls.AbstractAnimation |
|---|
addChildFrame, clearChildFrames, getChildFrames, getControl, getDelayTime, getLoader, getMainFrame, getOSPApp, isRunning, run, setControl, setDelayTime, startAnimation, stepAnimation, stopAnimation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SHOView()
| Method Detail |
|---|
public void initializeAnimation()
initializeAnimation in interface AnimationinitializeAnimation in class AbstractAnimationprotected void doStep()
doStep in class AbstractAnimationpublic void resetAnimation()
resetAnimation in interface AnimationresetAnimation in class AbstractAnimation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||