Class JMeterTreeNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.apache.jmeter.gui.tree.JMeterTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, NamedTreeNode

public class JMeterTreeNode extends DefaultMutableTreeNode implements NamedTreeNode
See Also:
  • Constructor Details

    • JMeterTreeNode

      public JMeterTreeNode()
    • JMeterTreeNode

      public JMeterTreeNode(org.apache.jmeter.testelement.TestElement userObj, JMeterTreeModel treeModel)
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getPathToThreadGroup

      public List<JMeterTreeNode> getPathToThreadGroup()
      Return nodes to level 2
      Returns:
      List of JMeterTreeNodes
    • 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

      public ImageIcon getIcon()
    • getIcon

      public ImageIcon getIcon(boolean enabled)
    • getMenuCategories

      public Collection<String> getMenuCategories()
    • createPopupMenu

      public JPopupMenu createPopupMenu()
    • getTestElement

      public org.apache.jmeter.testelement.TestElement getTestElement()
    • getStaticLabel

      public String getStaticLabel()
    • getDocAnchor

      public String getDocAnchor()
    • setName

      public void setName(String name)
      Specified by:
      setName in interface NamedTreeNode
    • getName

      public String getName()
      Specified by:
      getName in interface NamedTreeNode
    • nameChanged

      public void nameChanged()
      Specified by:
      nameChanged in interface NamedTreeNode