Class CheckableTreeNode

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

    public class CheckableTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSelected()  
      void setSelected​(boolean selected)  
      void setUserObject​(java.lang.Object obj)  
      • 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, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CheckableTreeNode

        public CheckableTreeNode()
      • CheckableTreeNode

        public CheckableTreeNode​(java.lang.Object userObject)
      • CheckableTreeNode

        public CheckableTreeNode​(java.lang.Object userObject,
                                 boolean allowsChildren,
                                 boolean isSelected)
    • Method Detail

      • setSelected

        public void setSelected​(boolean selected)
      • setUserObject

        public void setUserObject​(java.lang.Object obj)
        Specified by:
        setUserObject in interface javax.swing.tree.MutableTreeNode
        Overrides:
        setUserObject in class javax.swing.tree.DefaultMutableTreeNode
      • isSelected

        public boolean isSelected()