软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.tree |
处理
javax.swing.JTree 提供类和接口。
|
Modifier and Type | Class and Description |
---|---|
protected static class |
JTree.EmptySelectionModel
EmptySelectionModel 是
TreeSelectionModel 不允许任何选择。
|
Modifier and Type | Field and Description |
---|---|
protected TreeSelectionModel |
JTree.selectionModel
模型在这棵树中选择的节点集。
|
Modifier and Type | Method and Description |
---|---|
TreeSelectionModel |
JTree.getSelectionModel()
返回选择的模型。
|
Modifier and Type | Method and Description |
---|---|
void |
JTree.setSelectionModel(TreeSelectionModel selectionModel)
设置树的选择模型。
|
Modifier and Type | Field and Description |
---|---|
protected TreeSelectionModel |
BasicTreeUI.treeSelectionModel
模型保持选择。
|
Modifier and Type | Method and Description |
---|---|
protected TreeSelectionModel |
BasicTreeUI.getSelectionModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTreeUI.setSelectionModel(TreeSelectionModel newLSM)
重置选择模型。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeSelectionModel
treeselectionmodel默认实现的。
|
Modifier and Type | Field and Description |
---|---|
protected TreeSelectionModel |
AbstractLayoutCache.treeSelectionModel
选择模型。
|
Modifier and Type | Method and Description |
---|---|
TreeSelectionModel |
AbstractLayoutCache.getSelectionModel()
返回用于保持选择的模型。
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractLayoutCache.setSelectionModel(TreeSelectionModel newLSM)
设置用于管理选择新的
TreeSelectionModel LSM。
|
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.