Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » config » model » [javadoc | source]
org.jfree.report.modules.gui.config.model
abstract public class: AbstractConfigTreeNode [javadoc | source]
java.lang.Object
   org.jfree.report.modules.gui.config.model.AbstractConfigTreeNode

All Implemented Interfaces:
    ConfigTreeNode

Direct Known Subclasses:
    ConfigTreeSectionNode, ConfigTreeRootNode, ConfigTreeModuleNode

An abstract base implementation of the config tree node interface. The implementation provides all base services needed to have an valid TreeNode.
Constructor:
 protected AbstractConfigTreeNode(String name) 
    Creates a new config tree node with the given name. The node will be able to have child nodes.
    Parameters:
    name - the name of the node.
Method from org.jfree.report.modules.gui.config.model.AbstractConfigTreeNode Summary:
add,   children,   getAllowsChildren,   getChildAt,   getChildCount,   getIndex,   getName,   getParent,   isLeaf,   reset,   setParent
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.config.model.AbstractConfigTreeNode Detail:
 public  void add(ConfigTreeNode node) 
    Adds the given node to the tree model.
 public Enumeration children() 
    Returns the children of the receiver as an Enumeration.
 public boolean getAllowsChildren() 
    Returns true if the receiver allows children.
 public TreeNode getChildAt(int childIndex) 
    Returns the child TreeNode at index childIndex.
 public int getChildCount() 
    Returns the number of children TreeNodes the receiver contains.
 public int getIndex(TreeNode node) 
    Returns the index of node in the receivers children. If the receiver does not contain node, -1 will be returned.
 public String getName() 
    Return the name of the node.
 public TreeNode getParent() 
    Return the parent of this node or null if there is no parent.
 public boolean isLeaf() 
    Returns true if the receiver is a leaf.
 protected  void reset() 
    Removes all child nodes.
 public  void setParent(TreeNode parent) 
    Defines the parent of this node, or null if the node should not have a parent.