|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeSelectionModel
javax.swing.JTree.EmptySelectionModel
protected static class JTree.EmptySelectionModel
EmptySelectionModel 是一個不允許選擇任何內容的 TreeSelectionModel。
警告:此類別的序列化物件將與以後的 Swing 版本不相容。當前的序列化支持適用於短期存儲或運行相同 Swing 版本的應用程序之間的 RMI。從 1.4 版本開始,已在 java.beans 套件中添加了支持所有 JavaBeansTM 長期存儲的功能。請參見 XMLEncoder。
| 欄位摘要 | |
|---|---|
protected static JTree.EmptySelectionModel |
sharedInstance
獨有的共享實例。 |
| 從類別 javax.swing.tree.DefaultTreeSelectionModel 繼承的欄位 |
|---|
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode |
| 從介面 javax.swing.tree.TreeSelectionModel 繼承的欄位 |
|---|
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION |
| 建構子摘要 | |
|---|---|
protected |
JTree.EmptySelectionModel()
|
| 方法摘要 | |
|---|---|
void |
addSelectionPaths(TreePath[] paths)
一個未添加任何內容的 null 實作。 |
void |
removeSelectionPaths(TreePath[] paths)
一個未移除任何內容的 null 實作。 |
void |
setSelectionPaths(TreePath[] pPaths)
一個未選擇任何內容的 null 實作。 |
static JTree.EmptySelectionModel |
sharedInstance()
返回空選擇模型的共享實例。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 欄位詳細資訊 |
|---|
protected static final JTree.EmptySelectionModel sharedInstance
| 建構子詳細資訊 |
|---|
protected JTree.EmptySelectionModel()
| 方法詳細資訊 |
|---|
public static JTree.EmptySelectionModel sharedInstance()
public void setSelectionPaths(TreePath[] pPaths)
null 實作。
TreeSelectionModel 中的 setSelectionPathsDefaultTreeSelectionModel 中的 setSelectionPathspPaths - 新的選擇public void addSelectionPaths(TreePath[] paths)
null 實作。
TreeSelectionModel 中的 addSelectionPathsDefaultTreeSelectionModel 中的 addSelectionPathspaths - 添加到當前 selection 的新路徑public void removeSelectionPaths(TreePath[] paths)
null 實作。
TreeSelectionModel 中的 removeSelectionPathsDefaultTreeSelectionModel 中的 removeSelectionPathspaths - 從 selection 中移除的路徑
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。