C G I M P S U W

C

calcWave(double) - Method in class Wave2D
calculates the amplitude for x
contains(double, double) - Method in class Wave2D
the wave has no inside this returns always false
contains(double, double, double, double) - Method in class Wave2D
the wave has no inside this returns always false
contains(Point2D) - Method in class Wave2D
the wave has no inside this returns always false
contains(Rectangle2D) - Method in class Wave2D
the wave has no inside this returns always false

G

getBounds() - Method in class Wave2D
returns the bounding box
getBounds2D() - Method in class Wave2D
returns the bounding box
getEnd() - Method in class Wave2D
gets last point to draw
getPathIterator(AffineTransform) - Method in class Wave2D
returns new WaveIterator
getPathIterator(AffineTransform, double) - Method in class Wave2D
returns new WaveIterator
getScale() - Method in class Wave2D
returns the actual scale
getStart() - Method in class Wave2D
gets first point to draw

I

InputPanel - class InputPanel.
Programm: Wave
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: Sets up all needed control UI components
InputPanel(ChangeListener) - Constructor for class InputPanel
 
intersects(double, double, double, double) - Method in class Wave2D
returns always true - this may be wrong?
intersects(Rectangle2D) - Method in class Wave2D
returns always true - this may be wrong?

M

main(String[]) - Static method in class Wave
Main routine

P

paint(Graphics) - Method in class Painting
initializes the offscreenbuffer, calls offpaint() and paints the buffer
Painting - class Painting.
Programm: Wave
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: Does all the paintingstuff and uses double buffering to avoid flicker
Painting(Wave2D) - Constructor for class Painting
Constructor - Initializes the zoom with 1.0

S

setAmplitude(double) - Method in class Wave2D
sets amplitude
setEnd(double) - Method in class Wave2D
sets last point to draw
setPhase(double) - Method in class Wave2D
sets phaseshift
setScale(double) - Method in class Wave2D
sets scale - the wave is calculated in 0.1 steps to calculate the x-value of the point where the actual amplitude is to be drawn the current index is multiplicated by this value.
setStart(double) - Method in class Wave2D
sets first point to draw
setWaveLength(double) - Method in class Wave2D
sets wavelength
setZoom(double) - Method in class Painting
sets the zoom (think: AffineTransform.scale())
stateChanged(ChangeEvent) - Method in class InputPanel
changelistener for sliders
stateChanged(ChangeEvent) - Method in class WaveMain
changelistener for sliders

U

update(Graphics) - Method in class Painting
Overwrites original update and removes the screnn clearing as we use doublebuffering by using offpaint()

W

Wave - class Wave.
Programm: Wave
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: Startclass
Wave() - Constructor for class Wave
constructor
Wave2D - class Wave2D.
Programm: Wave
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: Creates a Wave Shape
Wave2D() - Constructor for class Wave2D
empty Constructor - initializes the wave with the values of a normal sinus curve
Wave2D(double, double, double) - Constructor for class Wave2D
constructor - takes amplitude, wavelength and phaseshift
Wave2D(double, double, double, double, double) - Constructor for class Wave2D
constructor - takes amplitude, wavelength, phaseshift, start- and endpoint
WaveMain - class WaveMain.
Programm: Wave
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: Main class, implements all needed listeners
WaveMain() - Constructor for class WaveMain
Constructor

C G I M P S U W