API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. BooleanControl View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.16, 05/11/17
Serial
Hierarchy
 Object
      Control
          BooleanControl
Implements
Subclasses
Description
publicabstract abstract class BooleanControl
  A BooleanControl provides the ability to switch between two possible settings that affect a line's audio.
See also:   
Constructors
protected BooleanControl (Type type, boolean initialValue)
  Constructs a new boolean control object with the given parameters.
protected BooleanControl (Type type, boolean initialValue, String trueStateLabel, String falseStateLabel)
  Constructs a new boolean control object with the given parameters.
Methods
Hide/Show inherited methods
public String getStateLabel (boolean state)
  Obtains the label for the specified state.
public Type getType () [Inherited From Control]
  Obtains the control's type.
public boolean getValue ()
  Obtains this control's current value.
public void setValue (boolean value)
  Sets the current value for the control.
public String toString () [Overrides Control]
  Provides a string representation of the control
Fields
Hide/Show inherited fields
Nested Classes
  BooleanControl.Type
An instance of the BooleanControl.Type class identifies one kind of boolean control.
  Control.Type
An instance of the Type class represents the type of the control.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar