uk.org.toot.audio.mixer
Class MixControls.GainControl

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.control.Control
          extended by uk.org.toot.control.LawControl
              extended by uk.org.toot.audio.fader.FaderControl
                  extended by uk.org.toot.audio.mixer.MixControls.GainControl
Enclosing class:
MixControls

public static class MixControls.GainControl
extends FaderControl

A GainControl is a FaderControl which implements GainVariables.


Constructor Summary
MixControls.GainControl(float initialdB)
           
 
Method Summary
 float getGain()
           
 void setValue(float value)
          Sets the current value for the control.
 
Methods inherited from class uk.org.toot.audio.fader.FaderControl
applyPreset, getMaxLabel, getMinLabel, getPresetNames, getUnityLabel, toString
 
Methods inherited from class uk.org.toot.control.LawControl
getInsertColor, getIntValue, getLaw, getPrecision, getValue, getValueString, setInsertColor, setIntValue
 
Methods inherited from class uk.org.toot.control.Control
getAnnotation, getControlPath, getControlPath, getId, getName, getParent, isAdjusting, isEnabled, isHidden, isIndicator, setAdjusting, setAnnotation, setEnabled, setHidden, setName
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MixControls.GainControl

public MixControls.GainControl(float initialdB)
Method Detail

setValue

public void setValue(float value)
Description copied from class: LawControl
Sets the current value for the control. The default implementation simply sets the value as indicated. If the value indicated is greater than the maximum value, or smaller than the minimum value, an IllegalArgumentException is thrown.

Overrides:
setValue in class LawControl
Parameters:
value - the desired new value

getGain

public float getGain()


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.