org.gscg.common.gui.statistics.components
Class BoxAndWhiskerChart

java.lang.Object
  extended bynl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
      extended byorg.gscg.common.gui.statistics.components.BoxAndWhiskerChart
All Implemented Interfaces:
StatisticsChartInterface, StatisticsInterface, nl.tudelft.simulation.jstats.Swingable

public class BoxAndWhiskerChart
extends nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
implements StatisticsChartInterface

The BoxAndWhiskerChart is used to show the minimum, average and maxmimum of a set of values.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:54 $
Author:
Stijn-Pieter van Houten

Field Summary
 
Fields inherited from class nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
TITLE_FONT
 
Constructor Summary
BoxAndWhiskerChart(java.lang.String description, ColorInterface actorPanel)
          constructs a new BoxAndWhiskerChart
 
Method Summary
 void add(GamingPersistent gamingPersistent)
          Method add
 java.lang.String getChartTitle()
          Method getChartTitle
 org.jfree.chart.JFreeChart getJFreeChart()
          Method getJFreeChart
 nl.tudelft.simulation.jstats.Swingable getSwingable()
          Method getSwingable.
 void setStatus(boolean status)
          Method setStatus sets the status of the statistic.
 java.lang.String toString()
           
 
Methods inherited from class nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
add, getChart, getConfidenceInterval, getSwingPanel, setConfidenceInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoxAndWhiskerChart

public BoxAndWhiskerChart(java.lang.String description,
                          ColorInterface actorPanel)
constructs a new BoxAndWhiskerChart

Parameters:
description - the description of the chart
actorPanel - the actor panel
Method Detail

getChartTitle

public java.lang.String getChartTitle()
Description copied from interface: StatisticsChartInterface
Method getChartTitle

Specified by:
getChartTitle in interface StatisticsChartInterface
Returns:
returns the title of the chart
See Also:
StatisticsChartInterface.getChartTitle()

getJFreeChart

public org.jfree.chart.JFreeChart getJFreeChart()
Description copied from interface: StatisticsChartInterface
Method getJFreeChart

Specified by:
getJFreeChart in interface StatisticsChartInterface
Returns:
returns an object which may be placed in a chart panel
See Also:
StatisticsChartInterface.getJFreeChart()

getSwingable

public nl.tudelft.simulation.jstats.Swingable getSwingable()
Description copied from interface: StatisticsChartInterface
Method getSwingable.

Specified by:
getSwingable in interface StatisticsChartInterface
Returns:
returns an object implementing the Swingable interface
See Also:
StatisticsChartInterface.getSwingable()

toString

public java.lang.String toString()
See Also:
Object.toString()

add

public void add(GamingPersistent gamingPersistent)
Method add

Parameters:
gamingPersistent - the gaming persistent to add

setStatus

public void setStatus(boolean status)
Description copied from interface: StatisticsInterface
Method setStatus sets the status of the statistic.

Specified by:
setStatus in interface StatisticsInterface
Parameters:
status - true if the statistics should be listening to server-side events; false otherwise
See Also:
StatisticsInterface.setStatus(boolean)


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