Class SearchableTreeNode

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Cloneable , javax.swing.tree.MutableTreeNode , javax.swing.tree.TreeNode

    
    public class SearchableTreeNode
    extends DefaultMutableTreeNode
                        

    TreeNode that holds flags for:

    • nodeHasMatched : It matches a search
    • childrenNodesHaveMatched : One of its children matches a search
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void reset()
      void updateState()
      boolean isNodeHasMatched()
      boolean isChildrenNodesHaveMatched()
      void setNodeHasMatched(boolean nodeHasMatched)
      void setChildrenNodesHaveMatched(boolean childrenNodesHaveMatched)
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait