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

java.lang.Object
  extended byorg.gscg.common.gui.statistics.components.StatisticsXYChart
      extended byorg.gscg.common.gui.statistics.components.DemandChangedStatisticsXYChart
All Implemented Interfaces:
java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, StatisticsChartInterface, StatisticsInterface

public class DemandChangedStatisticsXYChart
extends StatisticsXYChart

An implementation of the XYChartStatistics suitable for demand statistics.

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 org.gscg.common.gui.statistics.components.StatisticsXYChart
actorPanel, cache, eventType, series, xyChart
 
Constructor Summary
DemandChangedStatisticsXYChart(ActorApplicationInterface application, nl.tudelft.simulation.event.EventType eventType, java.lang.String chartName, java.lang.String domainLabel, java.lang.String rangeLabel, double runLength)
          constructs a new DemandChangedStatisticsXYChart
 
Method Summary
 void notify(nl.tudelft.simulation.event.EventInterface event)
           
 
Methods inherited from class org.gscg.common.gui.statistics.components.StatisticsXYChart
createXYChart, getChartTitle, getJFreeChart, getSwingable, getXyChart, setStatus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DemandChangedStatisticsXYChart

public DemandChangedStatisticsXYChart(ActorApplicationInterface application,
                                      nl.tudelft.simulation.event.EventType eventType,
                                      java.lang.String chartName,
                                      java.lang.String domainLabel,
                                      java.lang.String rangeLabel,
                                      double runLength)
constructs a new DemandChangedStatisticsXYChart

Parameters:
application - the application
eventType - the event type is used to update the xy chart
chartName - the name of the chart
domainLabel - the label of the domain
rangeLabel - the label of the range
runLength - the run length
Method Detail

notify

public void notify(nl.tudelft.simulation.event.EventInterface event)
            throws java.rmi.RemoteException
Specified by:
notify in interface nl.tudelft.simulation.event.EventListenerInterface
Specified by:
notify in class StatisticsXYChart
Throws:
java.rmi.RemoteException
See Also:
StatisticsXYChart.notify(nl.tudelft.simulation.event.EventInterface)


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