multigraph
Class TimeSeriesMFFunction
java.lang.Object
multigraph.TimeSeriesMFFunction
- public class TimeSeriesMFFunction
- extends java.lang.Object
The TimeSeriesMFFunction
class describes a time series
function, together with a specification of how it should be plotted in
a MultiPlotter
. This includes the following:
- A title --- a string that is used to identify this function in the
plot's legend
- A field name --- a string that identifies the data field, or fields,
corresponding to this function. If there is more than one field,
they should be separated by commas.
- A station index --- an integer that describes which station this
function's data comes from. This is an index into the MultiPlotter's
array of stations; 0 means the first station, 1 means the second
station, etc.
- A renderer --- an instance of a subclass of the class
TimeSeriesMFFunction.Renderer
which performs the
rendering of this function. See TimeSeriesMFFunction.Renderer
for details.
- Version:
- $Id: TimeSeriesMFFunction.java,v 1.1.1.1 2004/11/30 22:30:41 mphillips Exp $
- Author:
- Mark Phillips
Nested Class Summary |
static class |
TimeSeriesMFFunction.Renderer
An abstract superclass for subclasses that handle the rendering
of TimeSeriesMFFunctions . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimeSeriesMFFunction
public TimeSeriesMFFunction(java.lang.String name,
java.lang.String title,
java.lang.String field,
int station_index,
TimeSeriesMFFunction.Renderer renderer)
TimeSeriesMFFunction
public TimeSeriesMFFunction()
TimeSeriesMFFunction
public TimeSeriesMFFunction(TimeSeriesMFFunction src)
copySetValuesFrom
public void copySetValuesFrom(TimeSeriesMFFunction src)
getTitle
public java.lang.String getTitle()
getStationIndex
public int getStationIndex()
getField
public java.lang.String getField()
getFieldCount
public int getFieldCount()
getRenderer
public TimeSeriesMFFunction.Renderer getRenderer()
getName
public java.lang.String getName()
setTitle
public void setTitle(java.lang.String title)
setRenderer
public void setRenderer(TimeSeriesMFFunction.Renderer renderer)
setStationIndex
public void setStationIndex(int station_index)
setField
public void setField(java.lang.String field)
setName
public void setName(java.lang.String name)
toString
public java.lang.String toString()