public abstract class SamplerResultTab extends Object implements ResultRenderer
| Modifier and Type | Class and Description |
|---|---|
static class |
SamplerResultTab.RowResult
For model table
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
activateSearchExtension |
static Color |
CLIENT_ERROR_COLOR |
static Color |
REDIRECT_COLOR |
protected static String |
REQUEST_VIEW_COMMAND |
protected JEditorPane |
results
Response Data shown here
|
protected JScrollPane |
resultsScrollPane
Contains results; contained in resultsPane
|
protected JTabbedPane |
rightSide
holds the tabbed panes
|
protected SearchTextExtension |
searchTextExtension |
static Color |
SERVER_ERROR_COLOR |
protected static String |
TEXT_COMMAND |
| Constructor and Description |
|---|
SamplerResultTab() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearData() |
void |
init() |
void |
renderImage(SampleResult sampleResult) |
void |
setBackgroundColor(Color backGround) |
void |
setLastSelectedTab(int index) |
void |
setRightSide(JTabbedPane side) |
void |
setSamplerResult(Object sample) |
protected void |
setTextOptimized(String data)
Optimized way to set text based on :
http://javatechniques.com/blog/faster-jtextpane-text-insertion-part-i/
|
void |
setupTabPane() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderResult, toStringpublic static final Color SERVER_ERROR_COLOR
public static final Color CLIENT_ERROR_COLOR
public static final Color REDIRECT_COLOR
protected static final String TEXT_COMMAND
protected static final String REQUEST_VIEW_COMMAND
protected JScrollPane resultsScrollPane
protected JEditorPane results
protected JTabbedPane rightSide
protected SearchTextExtension searchTextExtension
protected boolean activateSearchExtension
public void clearData()
clearData in interface ResultRendererpublic void init()
init in interface ResultRendererpublic void setupTabPane()
setupTabPane in interface ResultRendererpublic void setSamplerResult(Object sample)
setSamplerResult in interface ResultRendererpublic void setRightSide(JTabbedPane side)
setRightSide in interface ResultRendererpublic void setLastSelectedTab(int index)
setLastSelectedTab in interface ResultRendererpublic void renderImage(SampleResult sampleResult)
renderImage in interface ResultRendererpublic void setBackgroundColor(Color backGround)
setBackgroundColor in interface ResultRendererprotected void setTextOptimized(String data)
data - String dataCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.