|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.general.AbstractDataset
nl.tudelft.simulation.jstats.charts.xy.XYSeries
public class XYSeries
The xySerie specifies an xySerie for XY Plots in DSOL.
(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.
Field Summary | |
---|---|
protected List |
entries
the entries of the serie |
static EventType |
LOWER_RANGE_EVENT
LOWER_RANGE_EVENT is fired on a range change |
static EventType |
UPPER_RANGE_EVENT
UPPER_RANGE_EVENT is fired on a range change |
Constructor Summary | |
---|---|
XYSeries(String name,
short axisType,
double period)
constructs a new XYSeries. |
Method Summary | |
---|---|
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(EventInterface event)
|
void |
setFilter(Filterinterface filter)
applies a filter on the chart |
Methods inherited from class org.jfree.data.general.AbstractDataset |
---|
addChangeListener, clone, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EventType LOWER_RANGE_EVENT
public static final EventType UPPER_RANGE_EVENT
protected List entries
Constructor Detail |
---|
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.Method Detail |
---|
public void notify(EventInterface event)
notify
in interface EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
public int getItemCount()
public Number getXValue(int item)
item
- the item
public Number getYValue(int item)
item
- the item
public String getSeriesName()
public void setFilter(Filterinterface filter)
filter
- the filter to apply
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |