Package 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
Right side in View Results Tree
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanstatic final Colorstatic final Colorprotected static final Stringprotected JEditorPaneResponse Data shown hereprotected JScrollPaneContains results; contained in resultsPaneprotected JTabbedPaneholds the tabbed panesprotected SearchTextExtensionstatic final Colorprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidinit()voidrenderImage(SampleResult sampleResult) voidsetBackgroundColor(Color backGround) voidsetLastSelectedTab(int index) voidsetRightSide(JTabbedPane side) voidsetSamplerResult(Object sample) protected voidsetTextOptimized(String data) Optimized way to set text based on : http://javatechniques.com/blog/faster-jtextpane-text-insertion-part-i/voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
renderResult, toString
-
Field Details
-
SERVER_ERROR_COLOR
-
CLIENT_ERROR_COLOR
-
REDIRECT_COLOR
-
TEXT_COMMAND
- See Also:
-
REQUEST_VIEW_COMMAND
- See Also:
-
resultsScrollPane
Contains results; contained in resultsPane -
results
Response Data shown here -
rightSide
holds the tabbed panes -
searchTextExtension
-
activateSearchExtension
protected boolean activateSearchExtension
-
-
Constructor Details
-
SamplerResultTab
protected SamplerResultTab()
-
-
Method Details
-
clearData
public void clearData()- Specified by:
clearDatain interfaceResultRenderer
-
init
public void init()- Specified by:
initin interfaceResultRenderer
-
setupTabPane
public void setupTabPane()- Specified by:
setupTabPanein interfaceResultRenderer
-
setSamplerResult
- Specified by:
setSamplerResultin interfaceResultRenderer
-
setRightSide
- Specified by:
setRightSidein interfaceResultRenderer
-
setLastSelectedTab
public void setLastSelectedTab(int index) - Specified by:
setLastSelectedTabin interfaceResultRenderer
-
renderImage
- Specified by:
renderImagein interfaceResultRenderer
-
setBackgroundColor
- Specified by:
setBackgroundColorin interfaceResultRenderer
-
setTextOptimized
Optimized way to set text based on : http://javatechniques.com/blog/faster-jtextpane-text-insertion-part-i/- Parameters:
data- String data
-