Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
protected static class: JTree.EmptySelectionModel [javadoc | source]
java.lang.Object
   javax.swing.tree.DefaultTreeSelectionModel
      javax.swing.JTree$EmptySelectionModel

All Implemented Interfaces:
    Cloneable, TreeSelectionModel, java$io$Serializable

EmptySelectionModel is a TreeSelectionModel that does not allow anything to be selected.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder .
Field Summary
protected static final  EmptySelectionModel sharedInstance    The single instance of {@code EmptySelectionModel}. 
Fields inherited from javax.swing.tree.DefaultTreeSelectionModel:
SELECTION_MODE_PROPERTY,  changeSupport,  selection,  listenerList,  rowMapper,  listSelectionModel,  selectionMode,  leadPath,  leadIndex,  leadRow
Method from javax.swing.JTree$EmptySelectionModel Summary:
addPropertyChangeListener,   addSelectionPaths,   addTreeSelectionListener,   removePropertyChangeListener,   removeSelectionPaths,   removeTreeSelectionListener,   setRowMapper,   setSelectionMode,   setSelectionPaths,   sharedInstance
Methods from javax.swing.tree.DefaultTreeSelectionModel:
addPropertyChangeListener,   addSelectionPath,   addSelectionPaths,   addTreeSelectionListener,   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,   removePropertyChangeListener,   removeSelectionPath,   removeSelectionPaths,   removeTreeSelectionListener,   resetRowSelection,   setRowMapper,   setSelectionMode,   setSelectionPath,   setSelectionPaths,   toString,   updateLeadIndex
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JTree$EmptySelectionModel Detail:
 public  void addPropertyChangeListener(PropertyChangeListener listener) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void addSelectionPaths(TreePath[] paths) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void addTreeSelectionListener(TreeSelectionListener listener) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void removePropertyChangeListener(PropertyChangeListener listener) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void removeSelectionPaths(TreePath[] paths) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void removeTreeSelectionListener(TreeSelectionListener listener) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void setRowMapper(RowMapper mapper) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void setSelectionMode(int mode) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public  void setSelectionPaths(TreePath[] paths) 
    This is overriden to do nothing; {@code EmptySelectionModel} does not allow a selection.
 public static EmptySelectionModel sharedInstance() 
    Returns the single instance of {@code EmptySelectionModel}.