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

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.control.FloatControl
                  extended by uk.org.toot.audio.mixer.MixControls.LCRControl
                      extended by uk.org.toot.audio.mixer.MixControls.PanControl
Enclosing class:
MixControls

public static class MixControls.PanControl
extends MixControls.LCRControl

A PanControl implements stereo pan.


Constructor Summary
MixControls.PanControl()
           
 
Method Summary
 float getLeft()
           
 float getPan()
           
 float getRight()
           
 void setValue(float value)
          Sets the current value for the control.
 
Methods inherited from class uk.org.toot.audio.mixer.MixControls.LCRControl
applyPreset, getPresetNames
 
Methods inherited from class uk.org.toot.control.FloatControl
getMaximum, getMaxLabel, getMidLabel, getMinimum, getMinLabel, isRotary, 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.PanControl

public MixControls.PanControl()
Method Detail

getLeft

public float getLeft()
Specified by:
getLeft in class MixControls.LCRControl

getRight

public float getRight()
Specified by:
getRight in class MixControls.LCRControl

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

getPan

public float getPan()


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