javax.sound.sampled
Class Control

java.lang.Object
  extended by javax.sound.sampled.Control
Direct Known Subclasses:
BooleanControl, CompoundControl, EnumControl, FloatControl

public abstract class Control
extends Object

A control provides the ability to affect some attribute of a line, for instance its volume.

Since:
1.3

Nested Class Summary
static class Control.Type
          This describes a single control.
 
Constructor Summary
protected Control(Control.Type type)
          Create a new Control given its Type.
 
Method Summary
 Control.Type getType()
          Return the Type of this Control.
 String toString()
          Return a String descrsibing this control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Control

protected Control(Control.Type type)
Create a new Control given its Type.

Parameters:
type - the type
Method Detail

getType

public Control.Type getType()
Return the Type of this Control.


toString

public String toString()
Return a String descrsibing this control. In particular the value will include the name of the associated Type.

Overrides:
toString in class Object
Returns:
the String representing this Object, which may be null
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)