Package: groovy.inspect.swingui

## [Groovy] Class TreeNodeWithProperties

- groovy.inspect.swingui.TreeNodeWithProperties

- This class is a TreeNode and you can store additional properties on it.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class DefaultMutableTreeNode` | `EMPTY_ENUMERATION`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `List<List<String>>` | `properties`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `TreeNodeWithProperties (def userObject, List<List<String>> properties)` Creates a tree node and attaches properties to it.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `String` | `getPropertyValue(String name)`
    `` | `boolean` | `isClassNode()`
    `` | `boolean` | `isMethodNode()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class DefaultMutableTreeNode` | `add, remove, remove, toString, clone, getParent, getRoot, insert, getPath, getIndex, setParent, children, getChildCount, getLevel, getDepth, setAllowsChildren, getUserObject, isRoot, isNodeAncestor, isNodeDescendant, getSharedAncestor, isNodeRelated, getUserObjectPath, getNextNode, getPreviousNode, preorderEnumeration, postorderEnumeration, breadthFirstEnumeration, depthFirstEnumeration, pathFromAncestorEnumeration, isNodeChild, getFirstChild, getLastChild, getChildAfter, getChildBefore, isNodeSibling, getSiblingCount, getNextSibling, getPreviousSibling, getFirstLeaf, getLastLeaf, getNextLeaf, getPreviousLeaf, getLeafCount, setUserObject, removeFromParent, getAllowsChildren, isLeaf, removeAllChildren, getChildAt, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Property Detail

    - #### List<List<String>> properties

  - ### Constructor Detail

    - #### TreeNodeWithProperties(def userObject, List<List<String>> properties)

      Creates a tree node and attaches properties to it.

      Parameters:
        `userObject` - same as a DefaultMutableTreeNode requires
        `properties` - a list of String lists

  - ### Method Detail

    - #### String getPropertyValue(String name)

    - #### boolean isClassNode()

    - #### boolean isMethodNode()