|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.jmeter.gui.AbstractJMeterGuiComponent
org.apache.jmeter.visualizers.gui.AbstractListenerGui
org.apache.jmeter.visualizers.gui.AbstractVisualizer
org.apache.jmeter.visualizers.StatGraphVisualizer
public class StatGraphVisualizer
Aggregrate Table-Based Reporting Visualizer for JMeter. Props to the people who've done the other visualizers ahead of me (Stefano Mazzocchi), who I borrowed code from to start me off (and much code may still exist). Thank you!
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
|---|
collector, isStats |
| Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|---|
namePanel |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
StatGraphVisualizer()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
|
void |
add(SampleResult res)
This method is called by sampling thread to inform the visualizer about the arrival of a new sample. |
void |
clearData()
Clears this visualizer and its model, and forces a repaint of the table. |
Vector<Vector<Object>> |
getAllTableData()
We use this method to get the data, since we are using ObjectTableModel, so the calling getDataVector doesn't work as expected. |
String[] |
getAxisLabels()
|
double[][] |
getData()
|
String |
getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive the component's label in the local language. |
JComponent |
getPrintableComponent()
Subclasses need to over-ride this method, if they wish to return something other than the Visualizer itself. |
void |
makeGraph()
|
static boolean |
testFunctors()
|
| Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer |
|---|
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged |
| Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui |
|---|
createPopupMenu, getMenuCategories |
| Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent |
|---|
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName, setNode |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatGraphVisualizer()
| Method Detail |
|---|
public static boolean testFunctors()
public String getLabelResource()
JMeterGUIComponent
getLabelResource in interface JMeterGUIComponentpublic void add(SampleResult res)
Visualizer
add in interface Visualizerpublic void clearData()
clearData in interface Clearablepublic void makeGraph()
public double[][] getData()
public String[] getAxisLabels()
public Vector<Vector<Object>> getAllTableData()
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic JComponent getPrintableComponent()
AbstractJMeterGuiComponent
getPrintableComponent in interface PrintablegetPrintableComponent in class AbstractJMeterGuiComponent
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||