@CompileStatic
class TreeNodeWithProperties
extends DefaultMutableTreeNode
This class is a TreeNode and you can store additional properties on it.
| Fields inherited from class | Fields |
|---|---|
class DefaultMutableTreeNode |
EMPTY_ENUMERATION |
| Type | Name and description |
|---|---|
List<List<?>> |
propertiesAdditional properties associated with this tree node. |
| Constructor and description |
|---|
TreeNodeWithProperties(Object userObject, List<List<?>> properties)Creates a tree node and attaches properties to it. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
getPropertyValue(String name)Returns the value of the named property. |
|
boolean |
isClassNode()Indicates whether this node represents a class node. |
|
boolean |
isMethodNode()Indicates whether this node represents a method or constructor node. |
Returns the value of the named property.
name - property namenull if absentIndicates whether this node represents a class node.
true for class and inner class nodesIndicates whether this node represents a method or constructor node.
true for method and constructor nodesCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.