public class JMeterTreeNode extends DefaultMutableTreeNode implements NamedTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
JMeterTreeNode() |
JMeterTreeNode(TestElement userObj,
JMeterTreeModel treeModel) |
Modifier and Type | Method and Description |
---|---|
JPopupMenu |
createPopupMenu() |
String |
getDocAnchor() |
ImageIcon |
getIcon() |
ImageIcon |
getIcon(boolean enabled) |
Collection<String> |
getMenuCategories() |
String |
getName() |
List<JMeterTreeNode> |
getPathToThreadGroup()
Return nodes to level 2
|
String |
getStaticLabel() |
TestElement |
getTestElement() |
boolean |
isChildrenMarkedBySearch()
Node has children marked by search
|
boolean |
isEnabled() |
boolean |
isMarkedBySearch()
Node is markedBySearch by a search
|
void |
nameChanged() |
void |
setChildrenNodesHaveMatched(boolean tagged)
One of the children of this node have matched a search
|
void |
setEnabled(boolean enabled) |
void |
setMarkedBySearch(boolean tagged)
Tag Node as result of a search
|
void |
setName(String name) |
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 JMeterTreeNode()
public JMeterTreeNode(TestElement userObj, JMeterTreeModel treeModel)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public List<JMeterTreeNode> getPathToThreadGroup()
List
of JMeterTreeNode
spublic void setChildrenNodesHaveMatched(boolean tagged)
tagged
- true if we must tagpublic void setMarkedBySearch(boolean tagged)
tagged
- The flag to be used for taggingpublic boolean isMarkedBySearch()
public boolean isChildrenMarkedBySearch()
public ImageIcon getIcon()
public ImageIcon getIcon(boolean enabled)
public Collection<String> getMenuCategories()
public JPopupMenu createPopupMenu()
public TestElement getTestElement()
public String getStaticLabel()
public String getDocAnchor()
public void setName(String name)
setName
in interface NamedTreeNode
public String getName()
getName
in interface NamedTreeNode
public void nameChanged()
nameChanged
in interface NamedTreeNode
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.