juju.reattore.perfcap.reporter.impl
Class ChartReporter

java.lang.Object
  |
  +--juju.reattore.perfcap.reporter.impl.ChartReporter
All Implemented Interfaces:
Reporter

public class ChartReporter
extends java.lang.Object
implements Reporter

Generates a XY chart with multiple series from the input data.


Constructor Summary
ChartReporter()
           
 
Method Summary
 void add(java.util.List ind, Results res)
          Add a new data point to the report.
 void end()
          Notifys this reporter that all of the data points have been processed.
 void setFilter(java.lang.String filter)
          The property from the test results.
 void setHeight(int argHeight)
          Height of the output image in pixels.
 void setOut(java.lang.String out)
          Name of the file to write to.
 void setTitle(java.lang.String argTitle)
          Title to place on the chart.
 void setWidth(int argWidth)
          Width of the output image in pixels.
 void setXAxisTitle(java.lang.String argXAxisTitle)
          Title of the X (horizontal) axis.
 void setYAxisTitle(java.lang.String argYAxisTitle)
          Title of the Y (vertical) axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartReporter

public ChartReporter()
Method Detail

setWidth

public void setWidth(int argWidth)
Width of the output image in pixels.

Parameters:
argWidth - Value to assign to this.width

setHeight

public void setHeight(int argHeight)
Height of the output image in pixels.

Parameters:
argHeight - Value to assign to this.height

setTitle

public void setTitle(java.lang.String argTitle)
Title to place on the chart.

Parameters:
argTitle - Value to assign to this.title

setXAxisTitle

public void setXAxisTitle(java.lang.String argXAxisTitle)
Title of the X (horizontal) axis.

Parameters:
argXAxisTitle - Value to assign to this.xAxisTitle

setYAxisTitle

public void setYAxisTitle(java.lang.String argYAxisTitle)
Title of the Y (vertical) axis.

Parameters:
argYAxisTitle - Value to assign to this.yAxisTitle

setFilter

public void setFilter(java.lang.String filter)
The property from the test results.

Parameters:
filter - The Bean name of the property.

setOut

public void setOut(java.lang.String out)
Name of the file to write to.

Parameters:
out - Name of the file.

add

public void add(java.util.List ind,
                Results res)
         throws java.lang.Exception
Description copied from interface: Reporter
Add a new data point to the report.

Specified by:
add in interface Reporter
Parameters:
ind - A list of independant Variables
res - The results from the test
Throws:
java.lang.Exception - if an error occurs.
See Also:
Reporter

end

public void end()
         throws java.lang.Exception
Description copied from interface: Reporter
Notifys this reporter that all of the data points have been processed. Can be used to commit the report.

Specified by:
end in interface Reporter
Throws:
java.lang.Exception - if an error occurs.
See Also:
Reporter


Copyright © 2002-2003 Michael Hope. All Rights Reserved.