|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultTreeModel org.apache.jmeter.gui.tree.JMeterTreeModel
public class JMeterTreeModel
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultTreeModel |
---|
asksAllowsChildren, listenerList, root |
Constructor Summary | |
---|---|
JMeterTreeModel()
|
|
JMeterTreeModel(Object o)
Deprecated. - only for use by JMeter class! |
|
JMeterTreeModel(TestElement tp,
TestElement wb)
|
Method Summary | |
---|---|
JMeterTreeNode |
addComponent(TestElement component,
JMeterTreeNode node)
|
HashTree |
addSubTree(HashTree subTree,
JMeterTreeNode current)
Adds the sub tree at the given node. |
void |
clearTestPlan()
Clear the test plan, and use default node for test plan and workbench. |
void |
clearTestPlan(TestElement testPlan)
Clear the test plan, and use specified node for test plan and default node for workbench N.B. |
HashTree |
getCurrentSubTree(JMeterTreeNode node)
|
JMeterTreeNode |
getNodeOf(TestElement userObject)
Get the node for a given TestElement object. |
List<JMeterTreeNode> |
getNodesOfType(Class<?> type)
Returns a list of tree nodes that hold objects of the given class type. |
HashTree |
getTestPlan()
|
void |
removeNodeFromParent(JMeterTreeNode node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMeterTreeModel(TestElement tp, TestElement wb)
public JMeterTreeModel()
@Deprecated public JMeterTreeModel(Object o)
o
- - dummyMethod Detail |
---|
public List<JMeterTreeNode> getNodesOfType(Class<?> type)
public JMeterTreeNode getNodeOf(TestElement userObject)
public HashTree addSubTree(HashTree subTree, JMeterTreeNode current) throws IllegalUserActionException
IllegalUserActionException
public JMeterTreeNode addComponent(TestElement component, JMeterTreeNode node) throws IllegalUserActionException
IllegalUserActionException
public void removeNodeFromParent(JMeterTreeNode node)
public HashTree getCurrentSubTree(JMeterTreeNode node)
public HashTree getTestPlan()
public void clearTestPlan()
GuiPackage.clearTestPlan()
public void clearTestPlan(TestElement testPlan)
GuiPackage.clearTestPlan(TestElement)
testPlan
- the node to use as the testplan top node
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |