org.apache.jmeter.visualizers
Class StatGraphVisualizer
- ActionListener, ChangeListener, Clearable, JMeterGUIComponent, Printable, UnsharedComponent, Visualizer
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!
clearGui , configure , configureTestElement , createTestElement , getErrorLoggingCheckbox , getFile , getFilePanel , getModel , isStats , makeTitlePanel , modifyTestElement , setFile , setModel , stateChanged |
clearGui , configure , configureTestElement , createTitleLabel , getComment , getDocAnchor , getName , getNamePanel , getNode , getPrintableComponent , getStaticLabel , isEnabled , makeBorder , makeScrollPane , makeScrollPane , makeTitlePanel , setComment , setEnabled , setName , setNode |
defaultHeight
protected int defaultHeight
defaultWidth
protected int defaultWidth
displayButton
protected JButton displayButton
graphScroll
protected JScrollPane graphScroll
myJTable
protected JTable myJTable
myScrollPane
protected JScrollPane myScrollPane
saveGraph
protected JButton saveGraph
saveGraphToFile
protected boolean saveGraphToFile
saveTable
protected JButton saveTable
spane
protected JSplitPane spane
yAxisLabel
protected String yAxisLabel
yAxisTitle
protected String yAxisTitle
StatGraphVisualizer
public StatGraphVisualizer()
actionPerformed
public void actionPerformed(ActionEvent event)
clearData
public void clearData()
Clears this visualizer and its model, and forces a repaint of the table.
- clearData in interface Clearable
getAllTableData
public Vector getAllTableData()
We use this method to get the data, since we are using
ObjectTableModel, so the calling getDataVector doesn't
work as expected.
getAxisLabels
public String[] getAxisLabels()
getData
public double[][] getData()
getLabelResource
public String getLabelResource()
Get the component's resource name, which getStaticLabel uses to derive
the component's label in the local language. The resource name is fixed,
and does not vary with the selected language.
Normally this method should be overriden in preference to overriding
getStaticLabel(). However where the resource name is not available or required,
getStaticLabel() may be overridden instead.
- getLabelResource in interface JMeterGUIComponent
makeGraph
public void makeGraph()
testFunctors
public static boolean testFunctors()
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.