org.apache.jmeter.report.gui.tree

Class ReportTreeModel


public class ReportTreeModel
extends DefaultTreeModel

Constructor Summary

ReportTreeModel()

Method Summary

ReportTreeNode
addComponent(TestElement component, ReportTreeNode node)
HashTree
addSubTree(HashTree subTree, ReportTreeNode current)
Adds the sub tree at the given node.
void
clearTestPlan()
HashTree
getCurrentSubTree(ReportTreeNode node)
ReportTreeNode
getNodeOf(TestElement userObject)
Get the node for a given TestElement object.
List
getNodesOfType(Class type)
Returns a list of tree nodes that hold objects of the given class type.
HashTree
getReportPlan()
void
removeNodeFromParent(ReportTreeNode node)

Constructor Details

ReportTreeModel

public ReportTreeModel()

Method Details

addComponent

public ReportTreeNode addComponent(TestElement component,
                                   ReportTreeNode node)
            throws IllegalUserActionException

addSubTree

public HashTree addSubTree(HashTree subTree,
                           ReportTreeNode current)
            throws IllegalUserActionException
Adds the sub tree at the given node. Returns a boolean indicating whether the added sub tree was a full test plan.

clearTestPlan

public void clearTestPlan()

getCurrentSubTree

public HashTree getCurrentSubTree(ReportTreeNode node)

getNodeOf

public ReportTreeNode getNodeOf(TestElement userObject)
Get the node for a given TestElement object.

getNodesOfType

public List getNodesOfType(Class type)
Returns a list of tree nodes that hold objects of the given class type. If none are found, an empty list is returned.

getReportPlan

public HashTree getReportPlan()

removeNodeFromParent

public void removeNodeFromParent(ReportTreeNode node)

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.