|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MonoWave
Programm: WaveJNI
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher
Info: holds data for a monochromatic wave
Constructor Summary | |
MonoWave(float Amp,
float freq,
float lambda)
Constructor |
Method Summary | |
void |
enable(boolean enabled)
enables/disables the wave |
float |
getAmplitude()
gets amplitude |
float |
getCircleFrequency()
gets circlefrequency (omega) |
float |
getFrequency()
gets frequency |
MonoWaveSlider |
getMonoWaveSlider()
Return MonoWaveSliderobject |
float |
getPhase()
gets phaseshift |
float |
getRatio()
gets ratio between SliderMaximum and Amplitude |
float |
getScale()
gets scale |
float |
getWaveKey()
gets Wavekey (k) |
float |
getWaveLength()
gets wavelength |
boolean |
is_enabled()
returns the on/off state of the wave |
void |
setAmplitude(float A)
sets amplitude |
void |
setFrequency(float f)
sets frequency |
void |
setPhase(float phi)
sets phaseshift |
void |
setScale(float scale)
sets scale |
void |
setWaveLength(float lambda)
sets wavelength |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MonoWave(float Amp, float freq, float lambda)
Method Detail |
public void enable(boolean enabled)
public boolean is_enabled()
public MonoWaveSlider getMonoWaveSlider()
public void setAmplitude(float A)
public void setWaveLength(float lambda)
public void setPhase(float phi)
public void setFrequency(float f)
public void setScale(float scale)
public float getAmplitude()
public float getWaveLength()
public float getPhase()
public float getFrequency()
public float getCircleFrequency()
public float getWaveKey()
public float getScale()
public float getRatio()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |