View Javadoc

    1   /*
    2    * @(#) BoxAndWhiskerChart.java Oct 19, 2003
    3    *
    4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
    5    * the Netherlands All rights reserved.
    6    *
    7    * This software is proprietary information of Delft University of Technology
    8    * The code is published under the General Public License
    9    */
    10  package nl.tudelft.simulation.dsol.statistics.charts;
    11
    12  import nl.tudelft.simulation.dsol.context.ContextUtil;
    13  import nl.tudelft.simulation.dsol.simulators.SimulatorInterface;
    14
    15  /***
    16   * The BoxAndWhiskerPlot extends the BoxAndWhiskerPlot and links this it to the
    17   * dsol framework <br>
    18   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
    19   * University of Technology </a>, the Netherlands. <br>
    20   * See for project information <a
    21   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
    22   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
    23   * License (GPL) </a>, no warranty <br>
    24   *
    25   * @version 1.0 18.08.2003 <br>
    26   * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
    27   *         Jacobs </a>
    28   */
    29  public class BoxAndWhiskerChart extends
    30  		nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
    31  {
    32
    33  	/***
    34  	 * constructs a new BoxAndWhiskerChart
    35  	 *
    36  	 * @param simulator the simulator
    37  	 * @param title the title
    38  	 */
    39  	public BoxAndWhiskerChart(final SimulatorInterface simulator,
    40  			final String title)
    41  	{
    42  		super(title);
    43  		ContextUtil.bindToContext(simulator, this);
    44  	}
    45
    46  	/***
    47  	 * @see java.lang.Object#toString()
    48  	 */
    49  	public String toString()
    50  	{
    51  		return super.getChart().getTitle().getText();
    52  	}
    53  }