|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.common.gui.statistics.components.StatisticsXYChart
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.
Field Summary | |
protected ActorApplicationInterface |
actorPanel
the actor panel |
protected java.util.ArrayList |
cache
the cache |
protected nl.tudelft.simulation.event.EventType |
eventType
the event type used to update the xy chart |
protected java.util.Map |
series
the series |
protected nl.tudelft.simulation.jstats.charts.xy.XYChart |
xyChart
the xy chart |
Constructor Summary | |
StatisticsXYChart(ActorApplicationInterface actorPanel,
nl.tudelft.simulation.event.EventType eventType,
java.lang.String chartName,
java.lang.String domainLabel,
java.lang.String rangeLabel,
double runLength)
the AreaStatistics show the statistics per area which are used in the are infromation frame |
Method Summary | |
void |
createXYChart()
create the statistics |
java.lang.String |
getChartTitle()
Method getChartTitle |
org.jfree.chart.JFreeChart |
getJFreeChart()
Method getJFreeChart |
nl.tudelft.simulation.jstats.Swingable |
getSwingable()
Method getSwingable. |
nl.tudelft.simulation.jstats.charts.xy.XYChart |
getXyChart()
|
abstract void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
void |
setStatus(boolean status)
Method setStatus sets the status of the statistic. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ActorApplicationInterface actorPanel
protected nl.tudelft.simulation.jstats.charts.xy.XYChart xyChart
protected java.util.ArrayList cache
protected nl.tudelft.simulation.event.EventType eventType
protected java.util.Map series
Constructor Detail |
public StatisticsXYChart(ActorApplicationInterface actorPanel, nl.tudelft.simulation.event.EventType eventType, java.lang.String chartName, java.lang.String domainLabel, java.lang.String rangeLabel, double runLength)
actorPanel
- the actor paneleventType
- the event type is used to update the xy chartchartName
- the name of the chartdomainLabel
- the label of the domainrangeLabel
- the label of the rangerunLength
- the run lengthMethod Detail |
public void createXYChart()
public nl.tudelft.simulation.jstats.charts.xy.XYChart getXyChart()
public java.lang.String getChartTitle()
StatisticsChartInterface
getChartTitle
in interface StatisticsChartInterface
StatisticsChartInterface.getChartTitle()
public nl.tudelft.simulation.jstats.Swingable getSwingable()
StatisticsChartInterface
getSwingable
in interface StatisticsChartInterface
StatisticsChartInterface.getSwingable()
public java.lang.String toString()
Object.toString()
public abstract void notify(nl.tudelft.simulation.event.EventInterface event) throws java.rmi.RemoteException
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
java.rmi.RemoteException
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
public org.jfree.chart.JFreeChart getJFreeChart()
StatisticsChartInterface
getJFreeChart
in interface StatisticsChartInterface
StatisticsChartInterface.getJFreeChart()
public void setStatus(boolean status)
StatisticsInterface
setStatus
in interface StatisticsInterface
status
- true if the statistics should be listening to server-side
events; false otherwiseStatisticsInterface.setStatus(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |