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.
-
ColorRadioWaves()
-
-
getAppletInfo()
- Returns version, author and copyright information about the
ColorRadioWaves applet.
-
getParameterInfo()
- Describes each of ColorRadioWaves` applet parameters.
-
init()
-
-
initWaveColors(Graphics)
- Initializes the wave colour(s) before a series of waves is emitted.
-
setNextWaveColor(Graphics)
- Sets the colour of the next wave to be drawn.
ColorRadioWaves
public ColorRadioWaves()
init
public void init()
- Overrides:
- init in class RadioWaves
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
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
getAppletInfo
public String getAppletInfo()
- Returns version, author and copyright information about the
ColorRadioWaves applet.
- Overrides:
- getAppletInfo in class RadioWaves
getParameterInfo
public String[][] getParameterInfo()
- Describes each of ColorRadioWaves` applet parameters.
- Overrides:
- getParameterInfo in class RadioWaves