com.ibm.di.admin.ui
Class ConnectorTreeUI.TreeSelMod
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
com.ibm.di.admin.ui.ConnectorTreeUI.TreeSelMod
All Implemented Interfaces: Serializable , Cloneable , TreeSelectionModel
Enclosing class: ConnectorTreeUI
public class ConnectorTreeUI.TreeSelMod extends DefaultTreeSelectionModel
Override the setSelectionPath to prevent resetting selected items
if user clicks on an already selected item. If no control or shift is
used in the selection, then the singleClick() method will reset the
selected items and set the currently clicked item as selected.
See Also: Serialized Form
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 , toString , updateLeadIndex
ConnectorTreeUI.TreeSelMod
public ConnectorTreeUI.TreeSelMod ()
Constructor for the TreeSelMod object
setSelectionPaths
public void setSelectionPaths (TreePath [] paths)
Sets the selectionPaths attribute of the TreeSelMod object
Specified by: setSelectionPaths
in interface TreeSelectionModel
Overrides: setSelectionPaths
in class DefaultTreeSelectionModel
Parameters: paths
- The new selectionPaths value