|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
| 使用 TreeSelectionModel 的軟體套件 | |
|---|---|
| javax.swing | 提供一組“輕量級”(全部是 Java 語言)元件,盡量讓這些元件在所有平臺上的工作方式都相同。 |
| javax.swing.plaf.basic | 提供了根據基本外觀建構的使用者介面物件。 |
| javax.swing.tree | 提供處理 javax.swing.JTree 的類別和介面。 |
| javax.swing 中 TreeSelectionModel 的使用 |
|---|
| 實作 TreeSelectionModel 的 javax.swing 中的類別 | |
|---|---|
protected static class |
JTree.EmptySelectionModel
EmptySelectionModel 是一個不允許選擇任何內容的 TreeSelectionModel。 |
| 宣告為 TreeSelectionModel 的 javax.swing 中的欄位 | |
|---|---|
protected TreeSelectionModel |
JTree.selectionModel
對此階層樹中選擇的節點集建模。 |
| 返回 TreeSelectionModel 的 javax.swing 中的方法 | |
|---|---|
TreeSelectionModel |
JTree.getSelectionModel()
返回選擇的模型。 |
| 參數型別為 TreeSelectionModel 的 javax.swing 中的方法 | |
|---|---|
void |
JTree.setSelectionModel(TreeSelectionModel selectionModel)
設置階層樹的選擇模型。 |
| javax.swing.plaf.basic 中 TreeSelectionModel 的使用 |
|---|
| 宣告為 TreeSelectionModel 的 javax.swing.plaf.basic 中的欄位 | |
|---|---|
protected TreeSelectionModel |
BasicTreeUI.treeSelectionModel
維護選擇的模型。 |
| 返回 TreeSelectionModel 的 javax.swing.plaf.basic 中的方法 | |
|---|---|
protected TreeSelectionModel |
BasicTreeUI.getSelectionModel()
|
| 參數型別為 TreeSelectionModel 的 javax.swing.plaf.basic 中的方法 | |
|---|---|
protected void |
BasicTreeUI.setSelectionModel(TreeSelectionModel newLSM)
重置選擇模型。 |
| javax.swing.tree 中 TreeSelectionModel 的使用 |
|---|
| 實作 TreeSelectionModel 的 javax.swing.tree 中的類別 | |
|---|---|
class |
DefaultTreeSelectionModel
TreeSelectionModel 的預設實作。 |
| 宣告為 TreeSelectionModel 的 javax.swing.tree 中的欄位 | |
|---|---|
protected TreeSelectionModel |
AbstractLayoutCache.treeSelectionModel
選擇模型。 |
| 返回 TreeSelectionModel 的 javax.swing.tree 中的方法 | |
|---|---|
TreeSelectionModel |
AbstractLayoutCache.getSelectionModel()
返回用於維護該選擇的模型。 |
| 參數型別為 TreeSelectionModel 的 javax.swing.tree 中的方法 | |
|---|---|
void |
AbstractLayoutCache.setSelectionModel(TreeSelectionModel newLSM)
將用於管理選擇的 TreeSelectionModel 設置為新的 LSM。 |
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個 下一個 | 框架 無框架 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。