Package repast.simphony.chart2
Class AbstractXYSeriesDataSink
java.lang.Object
repast.simphony.chart2.AbstractXYSeriesDataSink
- All Implemented Interfaces:
DataSink
- Direct Known Subclasses:
XYDataSinkSourceSeries
,XYDataSinkValueSeries
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close this DataSink.void
flush()
Flushes any data buffered by this DataSink.Gets the id of the data source that produces the x value.void
Notified this DataSink that the current record has ended.void
setXSourceId
(String xSourceId) Sets the id of the data source that produces the x value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface repast.simphony.data2.DataSink
append, open, rowEnded, rowStarted
-
Field Details
-
xydata
-
xId
-
-
Constructor Details
-
AbstractXYSeriesDataSink
-
-
Method Details
-
getXSourceId
Gets the id of the data source that produces the x value.- Returns:
- the id of the data source that produces the x value.
-
setXSourceId
Sets the id of the data source that produces the x value.- Parameters:
xSourceId
- the id of the data source that produces the x value
-
recordEnded
public void recordEnded()Description copied from interface:DataSink
Notified this DataSink that the current record has ended.- Specified by:
recordEnded
in interfaceDataSink
-
close
public void close()Description copied from interface:DataSink
Close this DataSink. -
flush
public void flush()Description copied from interface:DataSink
Flushes any data buffered by this DataSink.
-