Class MonoWaveSlider

java.lang.Object
  |
  +--MonoWaveSlider
All Implemented Interfaces:
java.awt.event.ActionListener, javax.swing.event.ChangeListener, java.util.EventListener

public class MonoWaveSlider
extends java.lang.Object
implements javax.swing.event.ChangeListener, java.awt.event.ActionListener

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


Constructor Summary
MonoWaveSlider(MonoWave mw)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Eventhandler
 FloatJSlider getAmplitudeSlider()
          returns Slider
 javax.swing.JCheckBox getEnableCheckbox()
          returns EnableCheckbox
 FloatJSlider getFrequencySlider()
          returns Slider
 FloatJSlider getPhaseSlider()
          returns Slider
 FloatJSlider getWaveLengthSlider()
          returns Slider
 void stateChanged(javax.swing.event.ChangeEvent e)
          Eventhandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonoWaveSlider

public MonoWaveSlider(MonoWave mw)
Constructor

Method Detail

getEnableCheckbox

public javax.swing.JCheckBox getEnableCheckbox()
returns EnableCheckbox


getAmplitudeSlider

public FloatJSlider getAmplitudeSlider()
returns Slider


getFrequencySlider

public FloatJSlider getFrequencySlider()
returns Slider


getWaveLengthSlider

public FloatJSlider getWaveLengthSlider()
returns Slider


getPhaseSlider

public FloatJSlider getPhaseSlider()
returns Slider


stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Eventhandler

Specified by:
stateChanged in interface javax.swing.event.ChangeListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Eventhandler

Specified by:
actionPerformed in interface java.awt.event.ActionListener