Class ConfigTreeRootNode
- java.lang.Object
-
- org.pentaho.reporting.tools.configeditor.model.AbstractConfigTreeNode
-
- org.pentaho.reporting.tools.configeditor.model.ConfigTreeRootNode
-
- All Implemented Interfaces:
TreeNode
,ConfigTreeNode
public class ConfigTreeRootNode extends AbstractConfigTreeNode
The root node contains the local and the global node and is the main entry point into the tree.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ConfigTreeRootNode(String name)
Creates a new root node with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeNode
getParent()
Returns the parentTreeNode
of the receiver.-
Methods inherited from class org.pentaho.reporting.tools.configeditor.model.AbstractConfigTreeNode
add, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getName, isLeaf, reset, setParent
-
-
-
-
Constructor Detail
-
ConfigTreeRootNode
public ConfigTreeRootNode(String name)
Creates a new root node with the given name.- Parameters:
name
- the name of the node.
-
-
Method Detail
-
getParent
public TreeNode getParent()
Returns the parentTreeNode
of the receiver.- Specified by:
getParent
in interfaceTreeNode
- Overrides:
getParent
in classAbstractConfigTreeNode
- Returns:
- always null, as the root node never has a parent.
- See Also:
TreeNode.getParent()
-
-