Class MonoWave

java.lang.Object
  |
  +--MonoWave

public class MonoWave
extends java.lang.Object

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

MonoWave

public MonoWave(float Amp,
                float freq,
                float lambda)
Constructor

Method Detail

enable

public void enable(boolean enabled)
enables/disables the wave


is_enabled

public boolean is_enabled()
returns the on/off state of the wave


getMonoWaveSlider

public MonoWaveSlider getMonoWaveSlider()
Return MonoWaveSliderobject


setAmplitude

public void setAmplitude(float A)
sets amplitude


setWaveLength

public void setWaveLength(float lambda)
sets wavelength


setPhase

public void setPhase(float phi)
sets phaseshift


setFrequency

public void setFrequency(float f)
sets frequency


setScale

public void setScale(float scale)
sets scale


getAmplitude

public float getAmplitude()
gets amplitude


getWaveLength

public float getWaveLength()
gets wavelength


getPhase

public float getPhase()
gets phaseshift


getFrequency

public float getFrequency()
gets frequency


getCircleFrequency

public float getCircleFrequency()
gets circlefrequency (omega)


getWaveKey

public float getWaveKey()
gets Wavekey (k)


getScale

public float getScale()
gets scale


getRatio

public float getRatio()
gets ratio between SliderMaximum and Amplitude