net.sf.sqs_xml.editor.base.swing
Class NodeTreeSelectionModel

java.lang.Object
  extended byjavax.swing.tree.DefaultTreeSelectionModel
      extended bynet.sf.sqs_xml.editor.base.swing.NodeTreeSelectionModel
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, javax.swing.tree.TreeSelectionModel

public class NodeTreeSelectionModel
extends javax.swing.tree.DefaultTreeSelectionModel

Author:
hiroya
See Also:
Serialized Form

Field Summary
static int NORMAL_MODE
           
static int XOR_MODE
           
 
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
NodeTreeSelectionModel(AbstractNodeTreePane tree)
           
 
Method Summary
 boolean isHierachicalSelected(javax.swing.tree.TreePath path)
           
 void removeHierachicalSelected()
           
 void selectNodeGroup(int rowClicked)
           
 void selectNodeGroup(int row1, int row2)
           
 
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORMAL_MODE

public static final int NORMAL_MODE
See Also:
Constant Field Values

XOR_MODE

public static final int XOR_MODE
See Also:
Constant Field Values
Constructor Detail

NodeTreeSelectionModel

public NodeTreeSelectionModel(AbstractNodeTreePane tree)
Method Detail

selectNodeGroup

public void selectNodeGroup(int row1,
                            int row2)

removeHierachicalSelected

public void removeHierachicalSelected()

isHierachicalSelected

public boolean isHierachicalSelected(javax.swing.tree.TreePath path)

selectNodeGroup

public void selectNodeGroup(int rowClicked)