This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing
class JTree.EmptySelectionModel

java.lang.Object extended by javax.swing.tree.DefaultTreeSelectionModel extended by javax.swing.JTree.EmptySelectionModel
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel
Enclosing class:
JTree

protected static class JTree.EmptySelectionModel
extends DefaultTreeSelectionModel

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 {@link java.beans.XMLEncoder}.


Field Summary
protected static JTree.EmptySelectionModel sharedInstance
          Unique shared instance.
 
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, selectionMode, SELECTION_MODE_PROPERTY
 
Constructor Summary
protected

          
 
Method Summary
 void

          A null implementation that adds nothing.
 void

          A null implementation that removes nothing.
 void

          A null implementation that selects nothing.
static JTree.EmptySelectionModel

          Returns a shared instance of an empty selection model.
 
Methods inherited from class 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 inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sharedInstance

protected static final JTree.EmptySelectionModel sharedInstance
Unique shared instance.
Constructor Detail

JTree.EmptySelectionModel

protected JTree.EmptySelectionModel()
Method Detail

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
A null implementation that adds nothing.

Overrides:
addSelectionPaths in class DefaultTreeSelectionModel
Parameters:
paths

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
A null implementation that removes nothing.

Overrides:
removeSelectionPaths in class DefaultTreeSelectionModel
Parameters:
paths

setSelectionPaths

public void setSelectionPaths(TreePath[] pPaths)
A null implementation that selects nothing.

Overrides:
setSelectionPaths in class DefaultTreeSelectionModel
Parameters:
pPaths

sharedInstance

public static JTree.EmptySelectionModel sharedInstance()
Returns a shared instance of an empty selection model.



This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.