All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class doppler.Doppler

doppler.Doppler

public class Doppler
implements Runnable

Constructor Index

 o Doppler()
 

Method Index

 o action(Event, Object)
 
 o destroy()
 
 o forward()
Start the animation.
 o getAppletInfo()
 
 o getParameterInfo()
 
 o handleEvent(Event)
 
 o init()
 
 o main(String[])
 
 o mouseDown(Event, int, int)
 
 o pause()
Pause the animation.
 o reset()
Reset the applet to time=0.
 o run()
Start the applet thread.
 o setCaption(String)
Set the applet caption.
 o setClassical()
Display the clasical Doppler effect.
 o setRelativistic()
Display the clasical Doppler effect.
 o setSpeed(double)
Set the speed of the source.
 o start()
Start the applet thread.
 o step()
Step the time.
 o stop()
Stop the applet thread.

Constructors

 o Doppler

 public Doppler()

Methods

 o main

 public static void main(String args[])

 o getAppletInfo

 public String getAppletInfo()

 o getParameterInfo

 public String[][] getParameterInfo()

 o init

 public void init()

 o destroy

 public void destroy()

 o reset

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

 o start

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

 o stop

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

 o forward

 public void forward()
Start the animation.

 o pause

 public void pause()
Pause the animation.

 o step

 public void step()
Step the time.

 o run

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

 o handleEvent

 public boolean handleEvent(Event evt)

 o mouseDown

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

 o action

 public boolean action(Event ev,
                       Object arg)

 o setSpeed

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

 o setClassical

 public void setClassical()
Display the clasical Doppler effect.

 o setRelativistic

 public void setRelativistic()
Display the clasical Doppler effect.

 o setCaption

 public void setCaption(String s)
Set the applet caption.
Parameters:
s - The caption string.

All Packages  Class Hierarchy  This Package  Previous  Next  Index