nl.tudelft.simulation.jstats.charts.boxAndWhisker
Class BoxAndWhiskerPlot

java.lang.Object
  extended byorg.jfree.chart.plot.Plot
      extended bynl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerPlot
All Implemented Interfaces:
org.jfree.chart.event.AxisChangeListener, java.lang.Cloneable, org.jfree.data.DatasetChangeListener, java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, java.io.Serializable

public class BoxAndWhiskerPlot
extends org.jfree.chart.plot.Plot
implements nl.tudelft.simulation.event.EventListenerInterface

The Summary chart class defines a summary chart.
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
2.0 21.09.2003
Author:
Peter Jacobs , Alexander Verbraeck
See Also:
Serialized Form

Field Summary
static short BORDER_SIZE
          BORDER_SIZE refers to the width of the border on the panel
static java.awt.Font FONT
          FONT defines the font of the plot
protected  java.text.NumberFormat formatter
          formatter formats the text
static java.lang.String PLOT_TYPE
          PLOT_TYPE refers to the plot type
protected  Tally[] tallies
          target is the tally to represent
static java.awt.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_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(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D rectangle, org.jfree.chart.plot.PlotState plotState, org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo)
           
 java.lang.String getPlotType()
           
 void notify(nl.tudelft.simulation.event.EventInterface event)
           
 
Methods inherited from class org.jfree.chart.plot.Plot
addChangeListener, axisChanged, clone, datasetChanged, draw, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, equals, fillBackground, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundPaint, getDataAreaRatio, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getLegendItems, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRectX, getRectY, getRootPlot, handleClick, isSubplot, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundPaint, setDataAreaRatio, setDatasetGroup, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setOutlinePaint, setOutlineStroke, setParent, zoom
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BORDER_SIZE

public static final short BORDER_SIZE
BORDER_SIZE refers to the width of the border on the panel

See Also:
Constant Field Values

PLOT_TYPE

public static final java.lang.String PLOT_TYPE
PLOT_TYPE refers to the plot type

See Also:
Constant Field Values

FONT

public static final java.awt.Font FONT
FONT defines the font of the plot


TITLE_FONT

public static final java.awt.Font TITLE_FONT
TITLE_FONT defines the font of the plot


tallies

protected Tally[] tallies
target is the tally to represent


formatter

protected java.text.NumberFormat formatter
formatter formats the text

Constructor Detail

BoxAndWhiskerPlot

public BoxAndWhiskerPlot()
constructs a new BoxAndWhiskerPlot

Method Detail

add

public void add(Tally tally)
adds a tally to the array of targets;

Parameters:
tally - the tally to be summarized

getPlotType

public java.lang.String getPlotType()
See Also:
Plot.getPlotType()

notify

public void notify(nl.tudelft.simulation.event.EventInterface event)
Specified by:
notify in interface nl.tudelft.simulation.event.EventListenerInterface
See Also:
#notify(nl.tudelft.simulation.event.EventInterface)

draw

public void draw(java.awt.Graphics2D g2,
                 java.awt.geom.Rectangle2D rectangle,
                 org.jfree.chart.plot.PlotState plotState,
                 org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo)
See Also:
Plot.draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.