protected static class JTree.EmptySelectionModel extends DefaultTreeSelectionModel
EmptySelectionModel是一个TreeSelectionModel ,不允许任何东西被选中。 
        警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。 从1.4开始,对所有JavaBeans的长期存储的支持已经添加到java.beans包中。 请参阅XMLEncoder 。 
| Modifier and Type | Field and Description | 
|---|---|
| protected static JTree.EmptySelectionModel | sharedInstance
              单身 
              EmptySelectionModel。 | 
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionModeCONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION| Modifier | Constructor and Description | 
|---|---|
| protected  | EmptySelectionModel() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyChangeListener(PropertyChangeListener listener) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | addSelectionPaths(TreePath[] paths) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | addTreeSelectionListener(TreeSelectionListener listener) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | removePropertyChangeListener(PropertyChangeListener listener) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | removeSelectionPaths(TreePath[] paths) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | removeTreeSelectionListener(TreeSelectionListener listener) 
             这样做是无效的 
              EmptySelectionModel不允许进行选择。 | 
| void | setRowMapper(RowMapper mapper) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | setSelectionMode(int mode) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| void | setSelectionPaths(TreePath[] paths) 
             这样做是无效的 
              EmptySelectionModel不允许选择。 | 
| static JTree.EmptySelectionModel | sharedInstance()
              返回单个实例 
              EmptySelectionModel。 | 
addSelectionPath, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removeSelectionPath, resetRowSelection, setSelectionPath, toString, updateLeadIndexprotected static final JTree.EmptySelectionModel sharedInstance
EmptySelectionModel 。 
          public static JTree.EmptySelectionModel sharedInstance()
EmptySelectionModel 。 
          EmptySelectionModel 
           public void setSelectionPaths(TreePath[] paths)
EmptySelectionModel不允许选择。 
          setSelectionPaths在接口 
            TreeSelectionModel 
           setSelectionPaths在 
            DefaultTreeSelectionModel 
           paths - 选择的路径; 
            这被忽略 
           public void addSelectionPaths(TreePath[] paths)
EmptySelectionModel不允许选择。 
          addSelectionPaths在接口 
            TreeSelectionModel 
           addSelectionPaths在 
            DefaultTreeSelectionModel 
           paths - 添加到选择的路径; 
            这被忽略 
           public void removeSelectionPaths(TreePath[] paths)
EmptySelectionModel不允许进行选择。 
          removeSelectionPaths在界面 
            TreeSelectionModel 
           removeSelectionPaths在 
            DefaultTreeSelectionModel类 
           paths - 要删除的路径; 
            这被忽略 
           public void setSelectionMode(int mode)
EmptySelectionModel不允许选择。 
          setSelectionMode在界面 
            TreeSelectionModel 
           setSelectionMode在 
            DefaultTreeSelectionModel 
           mode - 选择模式; 
            这被忽略 
           public void setRowMapper(RowMapper mapper)
EmptySelectionModel不允许选择。 
          setRowMapper在接口 
            TreeSelectionModel 
           setRowMapper在 
            DefaultTreeSelectionModel 
           mapper - RowMapper实例; 
            这被忽略 
           public void addTreeSelectionListener(TreeSelectionListener listener)
EmptySelectionModel不允许选择。 
          addTreeSelectionListener在界面 
            TreeSelectionModel 
           addTreeSelectionListener在 
            DefaultTreeSelectionModel类 
           listener - 收听者添加; 
            这被忽略 
           public void removeTreeSelectionListener(TreeSelectionListener listener)
EmptySelectionModel不允许选择。 
          removeTreeSelectionListener在界面 
            TreeSelectionModel 
           removeTreeSelectionListener在 
            DefaultTreeSelectionModel 
           listener - 要删除的侦听器 
            这被忽略 
           public void addPropertyChangeListener(PropertyChangeListener listener)
EmptySelectionModel不允许进行选择。 
          addPropertyChangeListener在接口 
            TreeSelectionModel 
           addPropertyChangeListener在 
            DefaultTreeSelectionModel 
           listener - 收听者添加; 
            这被忽略 
           public void removePropertyChangeListener(PropertyChangeListener listener)
EmptySelectionModel不允许选择。 
          removePropertyChangeListener在界面 
            TreeSelectionModel 
           removePropertyChangeListener在 
            DefaultTreeSelectionModel 
           listener - 要删除的侦听器 
            这被忽略 
            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.