org.apache.jmeter.visualizers

## Class SamplerResultTab

- java.lang.Object
- - org.apache.jmeter.visualizers.SamplerResultTab

- All Implemented Interfaces:
    ResultRenderer
  Direct Known Subclasses:
    RenderAsDocument, RenderAsHTML, RenderAsHTMLFormatted, RenderAsJSON, RenderAsText, RenderAsXML, RenderInBrowser

      public abstract class SamplerResultTab
      extends java.lang.Object
      implements ResultRenderer

  Right side in View Results Tree

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SamplerResultTab.RowResult` For model table

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected boolean` | `activateSearchExtension`
    `static java.awt.Color` | `CLIENT_ERROR_COLOR`
    `static java.awt.Color` | `REDIRECT_COLOR`
    `protected static java.lang.String` | `REQUEST_VIEW_COMMAND`
    `protected javax.swing.JEditorPane` | `results` Response Data shown here
    `protected javax.swing.JScrollPane` | `resultsScrollPane` Contains results; contained in resultsPane
    `protected javax.swing.JTabbedPane` | `rightSide` holds the tabbed panes
    `protected SearchTextExtension` | `searchTextExtension`
    `static java.awt.Color` | `SERVER_ERROR_COLOR`
    `protected static java.lang.String` | `TEXT_COMMAND`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SamplerResultTab()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clearData()`
    `void` | `init()`
    `void` | `renderImage(SampleResult sampleResult)`
    `void` | `setBackgroundColor(java.awt.Color backGround)`
    `void` | `setLastSelectedTab(int index)`
    `void` | `setRightSide(javax.swing.JTabbedPane side)`
    `void` | `setSamplerResult(java.lang.Object sample)`
    `void` | `setupTabPane()`

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

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

    - ### Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer

      `renderResult, toString`

- - ### Field Detail

    - #### SERVER_ERROR_COLOR

          public static final java.awt.Color SERVER_ERROR_COLOR

    - #### CLIENT_ERROR_COLOR

          public static final java.awt.Color CLIENT_ERROR_COLOR

    - #### REDIRECT_COLOR

          public static final java.awt.Color REDIRECT_COLOR

    - #### TEXT_COMMAND

          protected static final java.lang.String TEXT_COMMAND

      See Also:
        Constant Field Values

    - #### REQUEST_VIEW_COMMAND

          protected static final java.lang.String REQUEST_VIEW_COMMAND

      See Also:
        Constant Field Values

    - #### resultsScrollPane

          protected javax.swing.JScrollPane resultsScrollPane

      Contains results; contained in resultsPane

    - #### results

          protected javax.swing.JEditorPane results

      Response Data shown here

    - #### rightSide

          protected javax.swing.JTabbedPane rightSide

      holds the tabbed panes

    - #### searchTextExtension

          protected SearchTextExtension searchTextExtension

    - #### activateSearchExtension

          protected boolean activateSearchExtension

  - ### Constructor Detail

    - #### SamplerResultTab

          public SamplerResultTab()

  - ### Method Detail

    - #### clearData

          public void clearData()

      Specified by:
        `clearData` in interface `ResultRenderer`

    - #### init

          public void init()

      Specified by:
        `init` in interface `ResultRenderer`

    - #### setupTabPane

          public void setupTabPane()

      Specified by:
        `setupTabPane` in interface `ResultRenderer`

    - #### setSamplerResult

          public void setSamplerResult(java.lang.Object sample)

      Specified by:
        `setSamplerResult` in interface `ResultRenderer`

    - #### setRightSide

          public void setRightSide(javax.swing.JTabbedPane side)

      Specified by:
        `setRightSide` 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(java.awt.Color backGround)

      Specified by:
        `setBackgroundColor` in interface `ResultRenderer`

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.