Class CheckTreeSelectionModel



  • public class CheckTreeSelectionModel
    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

      Constructors 
      Constructor Description
      CheckTreeSelectionModel​(javax.swing.tree.TreeModel model)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSelectionPaths​(javax.swing.tree.TreePath[] paths)  
      boolean isPartiallySelected​(javax.swing.tree.TreePath path)  
      boolean isPathSelected​(javax.swing.tree.TreePath path, boolean dig)  
      void removeSelectionPaths​(javax.swing.tree.TreePath[] paths)  
      void setSelectionPaths​(javax.swing.tree.TreePath[] pPaths)  
      • Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel

        addPropertyChangeListener, addSelectionPath, 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, 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

      • CheckTreeSelectionModel

        public CheckTreeSelectionModel​(javax.swing.tree.TreeModel model)
    • Method Detail

      • isPartiallySelected

        public boolean isPartiallySelected​(javax.swing.tree.TreePath path)
      • isPathSelected

        public boolean isPathSelected​(javax.swing.tree.TreePath path,
                                      boolean dig)
      • setSelectionPaths

        public void setSelectionPaths​(javax.swing.tree.TreePath[] pPaths)
        Overrides:
        setSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModel
      • addSelectionPaths

        public void addSelectionPaths​(javax.swing.tree.TreePath[] paths)
        Overrides:
        addSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModel
      • removeSelectionPaths

        public void removeSelectionPaths​(javax.swing.tree.TreePath[] paths)
        Overrides:
        removeSelectionPaths in class javax.swing.tree.DefaultTreeSelectionModel