org.jboss.dtf.testframework.dtfweb.performance
Class XYGraphingBean
java.lang.Object
org.jboss.dtf.testframework.dtfweb.performance.XYGraphingBean
- All Implemented Interfaces:
- java.awt.image.ImageObserver
public class XYGraphingBean
- extends java.lang.Object
- implements java.awt.image.ImageObserver
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dataSeries
protected java.util.Vector _dataSeries
_image
protected java.awt.image.BufferedImage _image
_yAxisLabel
protected java.awt.image.BufferedImage _yAxisLabel
_yAxisLabelText
protected java.lang.String _yAxisLabelText
_xAxisLabelText
protected java.lang.String _xAxisLabelText
_numIncX
protected int _numIncX
_minX
protected double _minX
_maxX
protected double _maxX
_minY
protected double _minY
_maxY
protected double _maxY
_numIncY
protected int _numIncY
XYGraphingBean
public XYGraphingBean()
addDataSeries
public void addDataSeries(XYDataSeries data)
updateGraph
public void updateGraph()
createYAxisLabel
protected java.awt.image.BufferedImage createYAxisLabel(java.awt.Graphics g,
java.lang.String text)
getYAxisLabel
public java.lang.String getYAxisLabel()
getXAxisLabel
public java.lang.String getXAxisLabel()
setYAxisLabel
public void setYAxisLabel(java.lang.String text)
setXAxisLabel
public void setXAxisLabel(java.lang.String text)
createGraphImage
public java.awt.image.BufferedImage createGraphImage(int width,
int height)
- Draw the graph
imageUpdate
public boolean imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
- Specified by:
imageUpdate
in interface java.awt.image.ImageObserver