|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.Plot
nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerPlot
public class BoxAndWhiskerPlot
The Summary chart class defines a summary chart.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
static short |
BORDER_SIZE
BORDER_SIZE refers to the width of the border on the panel |
protected double |
confidenceInterval
the confidenceInterval |
static Font |
FONT
FONT defines the font of the plot |
protected NumberFormat |
formatter
formatter formats the text |
static String |
PLOT_TYPE
PLOT_TYPE refers to the plot type |
protected Tally[] |
tallies
target is the tally to represent |
static Font |
TITLE_FONT
TITLE_FONT defines the font of the plot |
Fields inherited from class org.jfree.chart.plot.Plot |
---|
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_LEGEND_ITEM_BOX, DEFAULT_LEGEND_ITEM_CIRCLE, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO |
Constructor Summary | |
---|---|
BoxAndWhiskerPlot()
constructs a new BoxAndWhiskerPlot |
Method Summary | |
---|---|
void |
add(Tally tally)
adds a tally to the array of targets; |
void |
draw(Graphics2D g2,
Rectangle2D rectangle,
PlotState plotState,
PlotRenderingInfo plotRenderingInfo)
|
void |
draw(Graphics2D g2,
Rectangle2D rectangle,
Point2D point,
PlotState plotState,
PlotRenderingInfo plotRenderingInfo)
|
double |
getConfidenceInterval()
Returns the confidence interval of the BoxAndWhiskerPlot |
String |
getPlotType()
|
void |
notify(EventInterface event)
|
void |
setConfidenceInterval(double confidenceInterval)
sets the confidence interval of the plot. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short BORDER_SIZE
public static final String PLOT_TYPE
public static final Font FONT
public static final Font TITLE_FONT
protected Tally[] tallies
protected NumberFormat formatter
protected double confidenceInterval
Constructor Detail |
---|
public BoxAndWhiskerPlot()
Method Detail |
---|
public void add(Tally tally)
tally
- the tally to be summarizedpublic String getPlotType()
getPlotType
in class Plot
Plot.getPlotType()
public void notify(EventInterface event)
notify
in interface EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
public void draw(Graphics2D g2, Rectangle2D rectangle, Point2D point, PlotState plotState, PlotRenderingInfo plotRenderingInfo)
draw
in class Plot
public void draw(Graphics2D g2, Rectangle2D rectangle, PlotState plotState, PlotRenderingInfo plotRenderingInfo)
org.jfree.chart.plot.Plot#draw(java.awt.Graphics2D,
java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState,
org.jfree.chart.plot.PlotRenderingInfo)
public double getConfidenceInterval()
public void setConfidenceInterval(double confidenceInterval)
confidenceInterval
- the confidence interval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |