Package: groovy.console.ui

## [Groovy] Class TreeNodeWithProperties

- groovy.console.ui.TreeNodeWithProperties

-     @CompileStatic
      class TreeNodeWithProperties
      extends DefaultMutableTreeNode

  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<?>>` | `properties`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `TreeNodeWithProperties(Object userObject, List<List<?>> 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` | `getChildCount, add, remove, remove, toString, clone, insert, getParent, getRoot, setParent, getPath, getIndex, isRoot, getLevel, children, isLeaf, getDepth, setUserObject, removeFromParent, getAllowsChildren, isNodeAncestor, isNodeChild, breadthFirstEnumeration, getUserObject, getNextSibling, getPreviousSibling, getLastLeaf, postorderEnumeration, getChildAfter, isNodeSibling, getChildBefore, getFirstChild, getLastChild, getFirstLeaf, getNextLeaf, getPreviousLeaf, setAllowsChildren, isNodeDescendant, getSharedAncestor, isNodeRelated, getUserObjectPath, getNextNode, getPreviousNode, preorderEnumeration, depthFirstEnumeration, pathFromAncestorEnumeration, getSiblingCount, getLeafCount, getChildAt, removeAllChildren, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Property Detail

    - #### List<List<?>> properties

  - ### Constructor Detail

    - #### TreeNodeWithProperties(Object userObject, List<List<?>> 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()