Generated by
JDiff

Class javax.swing.tree.DefaultTreeSelectionModel

Documentation changed from old to new.

Changed Constructors
DefaultTreeSelectionModel(void) Documentation changed from old to new.
Creates a new instance of DefaultTreeSelectionModel that is empty with a selection mode of DISCONTIGUOUS_TREE_SELECTION.
 

Added Methods
EventListener[] getListeners(Class) Returns an array of all the listeners of the given type that were added to this model.
 

Changed Methods
void addPropertyChangeListener(PropertyChangeListener) Documentation changed from old to new.
Adds a PropertyChangeListener to the listener list.
void addSelectionPath(TreePath) Documentation changed from old to new.
Adds path to the current selection.
void addSelectionPaths(TreePath[]) Documentation changed from old to new.
Adds paths to the current selection.
void addTreeSelectionListener(TreeSelectionListener) Documentation changed from old to new.
Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.
boolean arePathsContiguous(TreePath[]) Documentation changed from old to new.
Returns true if the paths are contiguous or this object has no RowMapper.
boolean canPathsBeAdded(TreePath[]) Documentation changed from old to new.
Used to test if a particular set of TreePaths can be added.
Object clone() Documentation changed from old to new.
Returns a clone of this object with the same selection.
void fireValueChanged(TreeSelectionEvent) Documentation changed from old to new.
Notifies all listeners that are registered for tree selection events on this object.
TreePath getLeadSelectionPath() Documentation changed from old to new.
Returns the last path that was added.
int getMaxSelectionRow() Documentation changed from old to new.
Returns the largest value obtained from the RowMapper for the current set of selected TreePaths.
int getMinSelectionRow() Documentation changed from old to new.
Returns the smallest value obtained from the RowMapper for the current set of selected TreePaths.
RowMapper getRowMapper() Documentation changed from old to new.
Returns the RowMapper instance that is able to map a TreePath to a row.
int getSelectionMode() Documentation changed from old to new.
Returns the selection mode one of SINGLE_TREE_SELECTION DISCONTIGUOUS_TREE_SELECTION or CONTIGUOUS_TREE_SELECTION.
TreePath getSelectionPath() Documentation changed from old to new.
Returns the first path in the selection.
TreePath[] getSelectionPaths() Documentation changed from old to new.
Returns the paths in the selection.
int[] getSelectionRows() Documentation changed from old to new.
Returns all of the currently selected rows.
void insureRowContinuity() Documentation changed from old to new.
Makes sure the currently selected TreePaths are valid for the current selection mode.
void insureUniqueness() Documentation changed from old to new.
This method is obsolete and its implementation is now a noop.
boolean isPathSelected(TreePath) Documentation changed from old to new.
Returns true if the path path is in the current selection.
void removePropertyChangeListener(PropertyChangeListener) Documentation changed from old to new.
Removes a PropertyChangeListener from the listener list.
void removeSelectionPath(TreePath) Documentation changed from old to new.
Removes path from the selection.
void removeSelectionPaths(TreePath[]) Documentation changed from old to new.
Removes paths from the selection.
void removeTreeSelectionListener(TreeSelectionListener) Documentation changed from old to new.
Removes x from the list of listeners that are notified each time the set of selected TreePaths changes.
void resetRowSelection() Documentation changed from old to new.
Updates this object's mapping from TreePath to rows.
void setRowMapper(RowMapper) Documentation changed from old to new.
Sets the RowMapper instance.
void setSelectionMode(int) Documentation changed from old to new.
Sets the selection model which must be one of SINGLE_TREE_SELECTION CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
void setSelectionPath(TreePath) Documentation changed from old to new.
Sets the selection to path.
void setSelectionPaths(TreePath[]) Documentation changed from old to new.
Sets the selection to the paths in paths.
 

Changed Fields
DefaultListSelectionModel listSelectionModel Documentation changed from old to new.
Handles maintaining the list selection model.