public static class GTree.GTreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
GTreeNode(GComponent component)
Constructor
|
GTreeNode(String node)
Constructor by default
|
Modifier and Type | Method and Description |
---|---|
GComponent |
getGComponent()
get the Gcomponent associated with the node
|
String |
getNameInConfigFile()
getter of the component name inside the node
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public GTreeNode(String node)
node
- used to create JTreepublic GTreeNode(GComponent component)
component
- associated with the nodepublic String getNameInConfigFile()
public GComponent getGComponent()
Copyright © 2024. All rights reserved.