Class ColorRadioWaves

Class ColorRadioWaves

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----RadioWaves
                                           |
                                           +----ColorRadioWaves

public class ColorRadioWaves
extends RadioWaves
Draws repeating series of radio waves emitted from its centre. The colour of each wave in a series can be specified by the user. Also see ColorRadioWaves` applet parameters documentation.

Constructor Index

 o ColorRadioWaves()

Method Index

 o getAppletInfo()
Returns version, author and copyright information about the ColorRadioWaves applet.
 o getParameterInfo()
Describes each of ColorRadioWaves` applet parameters.
 o init()
 o initWaveColors(Graphics)
Initializes the wave colour(s) before a series of waves is emitted.
 o setNextWaveColor(Graphics)
Sets the colour of the next wave to be drawn.

Constructors

 o ColorRadioWaves
  public ColorRadioWaves()

Methods

 o init
  public void init()
Overrides:
init in class RadioWaves
 o initWaveColors
  protected void initWaveColors(Graphics g)
Initializes the wave colour(s) before a series of waves is emitted.
Parameters:
g - the Graphics object on which the series of waves will be drawn
Overrides:
initWaveColors in class RadioWaves
 o setNextWaveColor
  protected void setNextWaveColor(Graphics g)
Sets the colour of the next wave to be drawn.
Parameters:
g - the Graphics object on which the wave will be drawn
Overrides:
setNextWaveColor in class RadioWaves
 o getAppletInfo
  public String getAppletInfo()
Returns version, author and copyright information about the ColorRadioWaves applet.
Overrides:
getAppletInfo in class RadioWaves
 o getParameterInfo
  public String[][] getParameterInfo()
Describes each of ColorRadioWaves` applet parameters.
Overrides:
getParameterInfo in class RadioWaves