1
2
3
4
5
6
7
8
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 }