All Packages Class Hierarchy This Package Previous Next Index
Class doppler.Doppler
doppler.Doppler
- public class Doppler
- implements Runnable
Doppler()
-
action(Event, Object)
-
destroy()
-
forward()
- Start the animation.
getAppletInfo()
-
getParameterInfo()
-
handleEvent(Event)
-
init()
-
main(String[])
-
mouseDown(Event, int, int)
-
pause()
- Pause the animation.
reset()
- Reset the applet to time=0.
run()
- Start the applet thread.
setCaption(String)
- Set the applet caption.
setClassical()
- Display the clasical Doppler effect.
setRelativistic()
- Display the clasical Doppler effect.
setSpeed(double)
- Set the speed of the source.
start()
- Start the applet thread.
step()
- Step the time.
stop()
- Stop the applet thread.

Doppler
public Doppler()

main
public static void main(String args[])

getAppletInfo
public String getAppletInfo()

getParameterInfo
public String[][] getParameterInfo()

init
public void init()

destroy
public void destroy()

reset
public void reset()
- Reset the applet to time=0.

start
public void start()
- Start the applet thread. Should not be called from JavaScript.
- See Also:
- forward

stop
public void stop()
- Stop the applet thread. Should not be called from JavaScript.
- See Also:
- pause

forward
public void forward()
- Start the animation.

pause
public void pause()
- Pause the animation.

step
public void step()
- Step the time.

run
public void run()
- Start the applet thread. Should not be called from JavaScript.
- See Also:
- forward, step

handleEvent
public boolean handleEvent(Event evt)

mouseDown
public boolean mouseDown(Event evt,
int x,
int y)

action
public boolean action(Event ev,
Object arg)

setSpeed
public void setSpeed(double v)
- Set the speed of the source.
- Parameters:
- v - The speed of the source.

setClassical
public void setClassical()
- Display the clasical Doppler effect.

setRelativistic
public void setRelativistic()
- Display the clasical Doppler effect.

setCaption
public void setCaption(String s)
- Set the applet caption.
- Parameters:
- s - The caption string.
All Packages Class Hierarchy This Package Previous Next Index