Package org.apache.jmeter.gui.tree
Class JMeterTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.apache.jmeter.gui.tree.JMeterTreeNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
,NamedTreeNode
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
ConstructorDescriptionJMeterTreeNode
(org.apache.jmeter.testelement.TestElement userObj, JMeterTreeModel treeModel) -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
getIcon
(boolean enabled) getName()
Return nodes to level 2org.apache.jmeter.testelement.TestElement
boolean
Node has children marked by searchboolean
boolean
Node is markedBySearch by a searchvoid
void
setChildrenNodesHaveMatched
(boolean tagged) One of the children of this node have matched a searchvoid
setEnabled
(boolean enabled) void
setMarkedBySearch
(boolean tagged) Tag Node as result of a searchvoid
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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
-
Constructor Details
-
JMeterTreeNode
public JMeterTreeNode() -
JMeterTreeNode
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getPathToThreadGroup
Return nodes to level 2- Returns:
List
ofJMeterTreeNode
s
-
setChildrenNodesHaveMatched
public void setChildrenNodesHaveMatched(boolean tagged) One of the children of this node have matched a search- Parameters:
tagged
- true if we must tag
-
setMarkedBySearch
public void setMarkedBySearch(boolean tagged) Tag Node as result of a search- Parameters:
tagged
- The flag to be used for tagging
-
isMarkedBySearch
public boolean isMarkedBySearch()Node is markedBySearch by a search- Returns:
- true if marked by search
-
isChildrenMarkedBySearch
public boolean isChildrenMarkedBySearch()Node has children marked by search- Returns:
- boolean are children marked by search
-
getIcon
-
getIcon
-
getMenuCategories
-
createPopupMenu
-
getTestElement
public org.apache.jmeter.testelement.TestElement getTestElement() -
getStaticLabel
-
getDocAnchor
-
setName
- Specified by:
setName
in interfaceNamedTreeNode
-
getName
- Specified by:
getName
in interfaceNamedTreeNode
-
nameChanged
public void nameChanged()- Specified by:
nameChanged
in interfaceNamedTreeNode
-