javax.sound.sampled
Class FloatControl
java.lang.Object
javax.sound.sampled.Control
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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