Top Description Inners Fields Constructors Methods
javax.sound.sampled

public abstract Class CompoundControl

extends Control
Class Inheritance
Known Direct Subclasses
com.sun.media.sound.PortMixer.CompCtrl
Imports
java.util.StringJoiner

A CompoundControl, such as a graphic equalizer, provides control over two or more related properties, each of which is itself represented as a Control.
Author
Kara Kytle
Since
1.3

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CompoundControl.Type

An instance of the CompoundControl.Type inner class identifies one kind of compound control.

Field Summary

Modifier and TypeField and Description
private final Control[]
controls

The set of member controls.

Constructor Summary

AccessConstructor and Description
protected
CompoundControl(CompoundControl.Type
the type of control represented this compound control object
type
,
Control[]
the set of member controls
memberControls
)

Constructs a new compound control object with the given parameters.

Method Summary

Modifier and TypeMethod and Description
public Control[]

Returns:

the set of member controls
getMemberControls
()

Returns the set of member controls that comprise the compound control.

public String

Returns:

a string representation of the compound control
toString
()

Overrides javax.sound.sampled.Control.toString.

Returns a string representation of the compound control.

Inherited from javax.sound.sampled.Control:
getType

Field Detail

controlsback to summary
private final Control[] controls

The set of member controls.

Constructor Detail

CompoundControlback to summary
protected CompoundControl(CompoundControl.Type type, Control[] memberControls)

Constructs a new compound control object with the given parameters.

Parameters
type:CompoundControl.Type

the type of control represented this compound control object

memberControls:Control[]

the set of member controls

Method Detail

getMemberControlsback to summary
public Control[] getMemberControls()

Returns the set of member controls that comprise the compound control.

Returns:Control[]

the set of member controls

toStringback to summary
public String toString()

Overrides javax.sound.sampled.Control.toString.

Returns a string representation of the compound control.

Returns:String

a string representation of the compound control

Annotations
@Override
javax.sound.sampled back to summary

public Class CompoundControl.Type

extends Type
Class Inheritance
Known Direct Subclasses
com.sun.media.sound.PortMixer.CompCtrl.CCT

An instance of the CompoundControl.Type inner class identifies one kind of compound control.
Author
Kara Kytle
Since
1.3

Constructor Summary

AccessConstructor and Description
protected
Type(final String
the name of the new compound control type
name
)

Constructs a new compound control type.

Method Summary

Inherited from javax.sound.sampled.Control.Type:
equalshashCodetoString

Constructor Detail

Typeback to summary
protected Type(final String name)

Constructs a new compound control type.

Parameters
name:String

the name of the new compound control type