Package: groovy.console.ui

## [Groovy] Class SwingTreeNodeMaker

- groovy.console.ui.SwingTreeNodeMaker

- All Implemented Interfaces and Traits:
    AstBrowserNodeMaker<DefaultMutableTreeNode>

      @CompileStatic
      class SwingTreeNodeMaker
      extends Object
      implements AstBrowserNodeMaker<DefaultMutableTreeNode>

  Creates tree nodes for swing UI

- - ### Constructor Summary

    Constructors
    Constructor and description
    `SwingTreeNodeMaker()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `DefaultMutableTreeNode` | `makeNode(Object userObject)` Creates a Swing tree node without metadata.
    `` | `DefaultMutableTreeNode` | `makeNodeWithProperties(Object userObject, List<List<?>> properties)` Creates a Swing tree node with metadata.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SwingTreeNodeMaker()

  - ### Method Detail

    - #### DefaultMutableTreeNode makeNode(Object userObject)

      Creates a Swing tree node without metadata.

      Parameters:
        `userObject` - value shown for the node
      Returns:
        the created tree node

    - #### DefaultMutableTreeNode makeNodeWithProperties(Object userObject, List<List<?>> properties)

      Creates a Swing tree node with metadata.

      Parameters:
        `userObject` - value shown for the node
        `properties` - metadata associated with the node
      Returns:
        the created tree node