软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSingleSelectionModel
一个通用的实施singleselectionmodel。
|
Modifier and Type | Field and Description |
---|---|
protected SingleSelectionModel |
JTabbedPane.model
默认选择模型
|
Modifier and Type | Method and Description |
---|---|
SingleSelectionModel |
JTabbedPane.getModel()
返回与使用相关的模型。
|
SingleSelectionModel |
JMenuBar.getSelectionModel()
返回处理单个选择的模型对象。
|
SingleSelectionModel |
JPopupMenu.getSelectionModel()
返回处理单个选择的模型对象。
|
Modifier and Type | Method and Description |
---|---|
void |
JTabbedPane.setModel(SingleSelectionModel model)
设置要使用这种使用模型。
|
void |
JMenuBar.setSelectionModel(SingleSelectionModel model)
设置模型对象来处理单个选择。
|
void |
JPopupMenu.setSelectionModel(SingleSelectionModel model)
设置模型对象来处理单个选择。
|
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.