A C D E F G I M O P R S U W

A

actionPerformed(ActionEvent) - Method in class MonoWaveSlider
Eventhandler
actionPerformed(ActionEvent) - Method in class WaveJNIMain
Eventhandler for Checkboxes

C

calc_java(int) - Method in class CalcThread
calculates the next Raster, according to time _time
calc_native(int) - Method in class CalcThread
calculates the next Raster, according to time _time but using a native function
calcArray(int[], float[], int, int, float, boolean, boolean, boolean) - Method in class CalcThread
declaration of native function for calculation of the raster
CalcThread - class CalcThread.
Programm: WaveThread
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: Class CalcThread, calculates Raster, holds array of Rasters
CalcThread(MonoWave[], Color) - Constructor for class CalcThread
CalcThread Constructor sets time, MonoWave and Color creates new RGB ColorModel

D

die() - Method in class CalcThread
control thread from outside, supposed but never used

E

enable(boolean) - Method in class MonoWave
enables/disables the wave

F

fak(int) - Method in class CalcThread
 
FloatJSlider - class FloatJSlider.
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: This JSlider uses floats for its values
FloatJSlider() - Constructor for class FloatJSlider
Constructor - initializes with 0.0,100.0,50.0
FloatJSlider(float, float, float) - Constructor for class FloatJSlider
Constructor

G

getAmplitude() - Method in class MonoWave
gets amplitude
getAmplitudeSlider() - Method in class MonoWaveSlider
returns Slider
getCircleFrequency() - Method in class MonoWave
gets circlefrequency (omega)
getEnableCheckbox() - Method in class MonoWaveSlider
returns EnableCheckbox
getFloatMaximum() - Method in class FloatJSlider
returns Maximum in float precision
getFloatMinimum() - Method in class FloatJSlider
returns Minimum in float precision
getFloatValue() - Method in class FloatJSlider
returns Value in float precision
getFrequency() - Method in class MonoWave
gets frequency
getFrequencySlider() - Method in class MonoWaveSlider
returns Slider
getMonoWaveSlider() - Method in class MonoWave
Return MonoWaveSliderobject
getOptions() - Method in class CalcThread
 
getPhase() - Method in class MonoWave
gets phaseshift
getPhaseSlider() - Method in class MonoWaveSlider
returns Slider
getQueueSize() - Method in class CalcThread
 
getRaster() - Method in class CalcThread
 
getRatio() - Method in class MonoWave
gets ratio between SliderMaximum and Amplitude
getScale() - Method in class MonoWave
gets scale
getWaveKey() - Method in class MonoWave
gets Wavekey (k)
getWaveLength() - Method in class MonoWave
gets wavelength
getWaveLengthSlider() - Method in class MonoWaveSlider
returns Slider

I

is_enabled() - Method in class MonoWave
returns the on/off state of the wave

M

main(String[]) - Static method in class WaveJNI
Main routine -everything starts here
MonoWave - class MonoWave.
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: holds data for a monochromatic wave
MonoWave(float, float, float) - Constructor for class MonoWave
Constructor
MonoWaveSlider - class MonoWaveSlider.
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: holds Sliders and enable Checkbox for values of MonoWave and implements needed Listeners
MonoWaveSlider(MonoWave) - Constructor for class MonoWaveSlider
Constructor

O

offpaint() - Method in class Painting
offscreen rendering

P

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

Info: displays the animation
Painting(CalcThread) - Constructor for class Painting
Constructor
PullThread - class PullThread.
Programm: WaveThread
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: thread that calls repaint if queue has elements
PullThread(Painting, CalcThread) - Constructor for class PullThread
Constructor (starts Thread)

R

resetFPS() - Method in class Painting
reset FPS counter
run() - Method in class CalcThread
"main" of CalcThread calls synchronized calc to fill queue
run() - Method in class PullThread
"main" of PullThread calls repaint of Painting if queue has elements

S

setAmplitude(float) - Method in class MonoWave
sets amplitude
setFloatMaximum(float) - Method in class FloatJSlider
sets Maximum in float precision
setFloatMinimum(float) - Method in class FloatJSlider
sets Minimum in float precision
setFloatValue(float) - Method in class FloatJSlider
sets Value in float precision
setFrequency(float) - Method in class MonoWave
sets frequency
setPhase(float) - Method in class MonoWave
sets phaseshift
setScale(double) - Method in class Painting
Set zoom
setScale(float) - Method in class MonoWave
sets scale
setWaveLength(float) - Method in class MonoWave
sets wavelength
setXY(int, int) - Method in class CalcThread
sets new width and height starts Thread, creates suitable Raster resets queue values (length,first,last)
sinusApproximation(float) - Method in class CalcThread
 
stateChanged(ChangeEvent) - Method in class MonoWaveSlider
Eventhandler
stateChanged(ChangeEvent) - Method in class WaveJNIMain
Eventhandler for zoom slider
switchCalcMethod() - Method in class CalcThread
switches usage of either native c or java calculation
switchSinusCalcMethod() - Method in class CalcThread
switches usage of either sinus or taylor approximation
switchUsageOfCopy() - Method in class CalcThread
switches usage of line copy
switchUsageOfPointers() - Method in class CalcThread
switches usage of pointers in native c function

U

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

W

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

Info: Startclass
WaveJNI() - Constructor for class WaveJNI
 
WaveJNIFrame - class WaveJNIFrame.
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: Startwindow
WaveJNIFrame() - Constructor for class WaveJNIFrame
constructor
WaveJNIMain - class WaveJNIMain.
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: Main class constructs GUI Components and Threads
WaveJNIMain() - Constructor for class WaveJNIMain
Constructor

A C D E F G I M O P R S U W