Home » openjdk-7 » javax.sound » sampled » [javadoc | source]
javax.sound.sampled
abstract public class: Control [javadoc | source]
java.lang.Object
   javax.sound.sampled.Control

Direct Known Subclasses:
    BooleanControl, EnumControl, FloatControl, CompoundControl

Lines often have a set of controls, such as gain and pan, that affect the audio signal passing through the line. Java Sound's Line objects let you obtain a particular control object by passing its class as the argument to a getControl method.

Because the various types of controls have different purposes and features, all of their functionality is accessed from the subclasses that define each kind of control.

Nested Class Summary:
public static class  Control.Type  An instance of the Type class represents the type of the control. Static instances are provided for the common types. 
Constructor:
 protected Control(Type type) 
    Constructs a Control with the specified type.
    Parameters:
    type - the kind of control desired
Method from javax.sound.sampled.Control Summary:
getType,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.sound.sampled.Control Detail:
 public Type getType() 
    Obtains the control's type.
 public String toString() 
    Obtains a String describing the control type and its current state.