JavaTM Platform
Standard Ed. 6

javax.sound.sampled
类 CompoundControl

java.lang.Object
  继承者 javax.sound.sampled.Control
      继承者 javax.sound.sampled.CompoundControl

public abstract class CompoundControl
extends Control

CompoundControl(如图形均衡器)控制两个或多个相关属性,每个属性本身都表示为 Control

从以下版本开始:
1.3

嵌套类摘要
static class CompoundControl.Type
          CompoundControl.Type 内部类的实例标识一种组合控件。
 
构造方法摘要
protected CompoundControl(CompoundControl.Type type, Control[] memberControls)
          构造一个具有给定参数的新组合控件对象。
 
方法摘要
 Control[] getMemberControls()
          返回组成组合控件的成员控件集合。
 String toString()
          提供控件的字符串表示形式
 
从类 javax.sound.sampled.Control 继承的方法
getType
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

CompoundControl

protected CompoundControl(CompoundControl.Type type,
                          Control[] memberControls)
构造一个具有给定参数的新组合控件对象。

参数:
type - 由此组件控件对象表示的控件类型
memberControls - 成员控件的集合
方法详细信息

getMemberControls

public Control[] getMemberControls()
返回组成组合控件的成员控件集合。

返回:
成员控件的集合。

toString

public String toString()
提供控件的字符串表示形式

覆盖:
Control 中的 toString
返回:
字符串描述

JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策