hep.wired.util.tree
Class WiredTreeSelectionModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeSelectionModel
      extended by hep.wired.util.tree.WiredTreeSelectionModel
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel

public class WiredTreeSelectionModel
extends DefaultTreeSelectionModel

Version:
$Id: $
Author:
Dmitry Onoprienko
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode
 
Fields inherited from interface javax.swing.tree.TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION
 
Constructor Summary
WiredTreeSelectionModel()
           
 
Method Summary
 void addSelectionPath(TreePath path)
           
 void addSelectionPaths(TreePath[] paths)
           
 void clearSelection()
           
 void removeSelectionPath(TreePath path)
           
 void removeSelectionPaths(TreePath[] paths)
           
 void setSelectionPath(TreePath path)
           
 void setSelectionPaths(TreePath[] paths)
           
 
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, toString, updateLeadIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WiredTreeSelectionModel

public WiredTreeSelectionModel()
Method Detail

addSelectionPath

public void addSelectionPath(TreePath path)
Specified by:
addSelectionPath in interface TreeSelectionModel
Overrides:
addSelectionPath in class DefaultTreeSelectionModel

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
Specified by:
addSelectionPaths in interface TreeSelectionModel
Overrides:
addSelectionPaths in class DefaultTreeSelectionModel

clearSelection

public void clearSelection()
Specified by:
clearSelection in interface TreeSelectionModel
Overrides:
clearSelection in class DefaultTreeSelectionModel

removeSelectionPath

public void removeSelectionPath(TreePath path)
Specified by:
removeSelectionPath in interface TreeSelectionModel
Overrides:
removeSelectionPath in class DefaultTreeSelectionModel

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
Specified by:
removeSelectionPaths in interface TreeSelectionModel
Overrides:
removeSelectionPaths in class DefaultTreeSelectionModel

setSelectionPath

public void setSelectionPath(TreePath path)
Specified by:
setSelectionPath in interface TreeSelectionModel
Overrides:
setSelectionPath in class DefaultTreeSelectionModel

setSelectionPaths

public void setSelectionPaths(TreePath[] paths)
Specified by:
setSelectionPaths in interface TreeSelectionModel
Overrides:
setSelectionPaths in class DefaultTreeSelectionModel


Copyright © 1996-2013 FreeHEP. All Rights Reserved.