Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class TreeControl.TreeControlTree.TreeControlSelectionModel

java.lang.Object
  extended byjavax.swing.tree.DefaultTreeSelectionModel
      extended byoracle.dacf.control.swing.TreeControl.TreeControlTree.TreeControlSelectionModel
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, javax.swing.tree.TreeSelectionModel
Enclosing class:
TreeControl.TreeControlTree

public class TreeControl.TreeControlTree.TreeControlSelectionModel
extends javax.swing.tree.DefaultTreeSelectionModel

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
TreeControl.TreeControlTree.TreeControlSelectionModel()
           
 
Method Summary
 void addSelectionPaths(javax.swing.tree.TreePath[] paths)
          Adds paths to the current selection.
protected  void fireValueChanged(javax.swing.event.TreeSelectionEvent event)
           
 void removeSelectionPaths(javax.swing.tree.TreePath[] paths)
          Removes paths from the selection.
 void setSelectionPaths(javax.swing.tree.TreePath[] pPaths)
          Sets the selection to the paths in paths.
 
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addSelectionPath, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, toString, updateLeadIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeControl.TreeControlTree.TreeControlSelectionModel

public TreeControl.TreeControlTree.TreeControlSelectionModel()
Method Detail

setSelectionPaths

public void setSelectionPaths(javax.swing.tree.TreePath[] pPaths)
Sets the selection to the paths in paths. If this represents a change the TreeSelectionListeners are notified. Potentially paths will be held by the reciever, in other words don't change any of the objects in the array once passed in.


addSelectionPaths

public void addSelectionPaths(javax.swing.tree.TreePath[] paths)
Adds paths to the current selection. If any of the paths in paths are not currently in the selection the TreeSelectionListeners are notified.


removeSelectionPaths

public void removeSelectionPaths(javax.swing.tree.TreePath[] paths)
Removes paths from the selection. If any of the paths in paths are in the selection the TreeSelectionListeners are notified.


fireValueChanged

protected void fireValueChanged(javax.swing.event.TreeSelectionEvent event)

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.