软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
Checkbox |
CheckboxGroup.getCurrent()
过时的。
作为JDK 1.1版本,取而代之的
getSelectedCheckbox() 。
|
Checkbox |
CheckboxGroup.getSelectedCheckbox()
从这个复选框组获取当前的选择。
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.awt.peer.CheckboxPeer |
Toolkit.createCheckbox(Checkbox target)
创建这个工具的实现
Checkbox 使用指定的节点接口。
|
void |
CheckboxGroup.setCurrent(Checkbox box)
过时的。
作为JDK 1.1版本,取而代之的
setSelectedCheckbox(Checkbox) 。
|
void |
CheckboxGroup.setSelectedCheckbox(Checkbox box)
将此组中当前选中的复选框设置为指定的复选框。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.