| 
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。