public class XYSeries
extends org.jfree.data.general.AbstractDataset
implements nl.tudelft.simulation.event.EventListenerInterface
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Modifier and Type | Field and Description |
---|---|
protected List |
entries
the entries of the serie
|
static nl.tudelft.simulation.event.EventType |
LOWER_RANGE_EVENT
LOWER_RANGE_EVENT is fired on a range change
|
static nl.tudelft.simulation.event.EventType |
UPPER_RANGE_EVENT
UPPER_RANGE_EVENT is fired on a range change
|
Constructor and Description |
---|
XYSeries(String name,
short axisType,
double period)
constructs a new XYSeries.
|
Modifier and Type | Method and Description |
---|---|
int |
getItemCount()
returns the number of items in this seris
|
String |
getSeriesName()
returns the name of this serie
|
Number |
getXValue(int item)
returns the X value
|
Number |
getYValue(int item)
returns the yValue
|
void |
notify(nl.tudelft.simulation.event.EventInterface event) |
void |
setFilter(nl.tudelft.simulation.language.filters.Filterinterface filter)
applies a filter on the chart
|
public static final nl.tudelft.simulation.event.EventType LOWER_RANGE_EVENT
public static final nl.tudelft.simulation.event.EventType UPPER_RANGE_EVENT
protected List entries
public XYSeries(String name, short axisType, double period)
name
- the name of the series.axisType
- whether this serie is logarithmic (x=0 & y=0 are
neglected)period
- the period of this series.public void notify(nl.tudelft.simulation.event.EventInterface event)
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
public int getItemCount()
public Number getXValue(int item)
item
- the itempublic Number getYValue(int item)
item
- the itempublic String getSeriesName()
public void setFilter(nl.tudelft.simulation.language.filters.Filterinterface filter)
filter
- the filter to applyCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.