Package org.apache.jmeter.visualizers

# Class RenderAsXPath

java.lang.Object
org.apache.jmeter.visualizers.RenderAsXPath

All Implemented Interfaces:
  `ActionListener`, `EventListener`, `ResultRenderer`

@AutoService(ResultRenderer.class) public class RenderAsXPath extends Object implements ResultRenderer, ActionListener
Implement ResultsRender for XPath tester

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RenderAsXPath()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `actionPerformed(ActionEvent e)`
  Display the response as text or as rendered HTML.
  `void`
  `clearData()`
  `void`
  `init()`
  `void`
  `renderImage(SampleResult sampleResult)`
  `void`
  `renderResult(SampleResult sampleResult)`
  `void`
  `setBackgroundColor(Color backGround)`
  `void`
  `setLastSelectedTab(int index)`
  `void`
  `setRightSide(JTabbedPane side)`
  `void`
  `setSamplerResult(Object userObject)`
  `void`
  `setupTabPane()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### RenderAsXPath

    public RenderAsXPath()

- ## Method Details

  - ### clearData

    public void clearData()
    Specified by:
      `clearData` in interface `ResultRenderer`

  - ### init

    public void init()
    Specified by:
      `init` in interface `ResultRenderer`

  - ### actionPerformed

    public void actionPerformed(ActionEvent e)
    Display the response as text or as rendered HTML. Change the text on the button appropriate to the current display.
    Specified by:
      `actionPerformed` in interface `ActionListener`
    Parameters:
      `e` - the ActionEvent being processed

  - ### renderResult

    public void renderResult(SampleResult sampleResult)
    Specified by:
      `renderResult` in interface `ResultRenderer`

  - ### toString

    public String toString()
    Specified by:
      `toString` in interface `ResultRenderer`
    Overrides:
      `toString` in class `Object`
    Returns:
      the string to be displayed by the ComboBox

  - ### setupTabPane

    public void setupTabPane()
    Specified by:
      `setupTabPane` in interface `ResultRenderer`

  - ### setRightSide

    public void setRightSide(JTabbedPane side)
    Specified by:
      `setRightSide` in interface `ResultRenderer`

  - ### setSamplerResult

    public void setSamplerResult(Object userObject)
    Specified by:
      `setSamplerResult` in interface `ResultRenderer`

  - ### setLastSelectedTab

    public void setLastSelectedTab(int index)
    Specified by:
      `setLastSelectedTab` in interface `ResultRenderer`

  - ### renderImage

    public void renderImage(SampleResult sampleResult)
    Specified by:
      `renderImage` in interface `ResultRenderer`

  - ### setBackgroundColor

    public void setBackgroundColor(Color backGround)
    Specified by:
      `setBackgroundColor` in interface `ResultRenderer`