javax.sound.sampled
Class FloatControl

java.lang.Object
  extended by javax.sound.sampled.Control
      extended by javax.sound.sampled.FloatControl
Direct Known Subclasses:
AlsaBaseDataLine.AlsaBaseDataLineGainControl, AlsaSourceDataLine.AlsaSourceDataLineGainControl, AlsaTargetDataLine.AlsaTargetDataLineGainControl, EsdSourceDataLine.EsdSourceDataLineGainControl, EsdSourceDataLine.EsdSourceDataLinePanControl, EsdTargetDataLine.EsdTargetDataLineGainControl, TFloatControl

public abstract class FloatControl
extends Control


Nested Class Summary
static class FloatControl.Type
           
 
Method Summary
 float getMaximum()
           
 java.lang.String getMaxLabel()
           
 java.lang.String getMidLabel()
           
 float getMinimum()
           
 java.lang.String getMinLabel()
           
 float getPrecision()
           
 java.lang.String getUnits()
           
 int getUpdatePeriod()
           
 float getValue()
           
 void setValue(float fValue)
          Set the value of the control.
 void shift(float fFrom, float fTo, int nMicroseconds)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.sound.sampled.Control
getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setValue

public void setValue(float fValue)
Set the value of the control. If subclasses need to override this method, super.setValue() should be called at the beginning of the overriding implementation.


getValue

public float getValue()

getMaximum

public float getMaximum()

getMinimum

public float getMinimum()

getUnits

public java.lang.String getUnits()

getMinLabel

public java.lang.String getMinLabel()

getMidLabel

public java.lang.String getMidLabel()

getMaxLabel

public java.lang.String getMaxLabel()

getPrecision

public float getPrecision()

getUpdatePeriod

public int getUpdatePeriod()

shift

public void shift(float fFrom,
                  float fTo,
                  int nMicroseconds)

toString

public java.lang.String toString()
Overrides:
toString in class Control