[Groovy] Class TreeNodeWithProperties
- groovy.inspect.swingui.TreeNodeWithProperties
This class is a TreeNode and you can store additional properties on it.
Fields inherited from class | Fields |
---|---|
class DefaultMutableTreeNode | EMPTY_ENUMERATION |
Properties Summary
Type | Name and description |
---|---|
List<List<String>> |
properties |
Constructor Summary
Constructor and description |
---|
TreeNodeWithProperties
(def userObject, List<List<String>> properties) Creates a tree node and attaches properties to it. |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
String |
getPropertyValue(String name) | |
boolean |
isClassNode() | |
boolean |
isMethodNode() |
Inherited Methods Summary
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()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/inspect/swingui/TreeNodeWithProperties.html