datavisualizer::XYZSeries Class Reference

Represents a collection of XYZ data items. More...

List of all members.

Public Member Functions

 XYZSeries (String name)
 Constructs a new xy-series that contains no data.
int getItemCount ()
 Returns the number of items in the series.
List getItems ()
 Returns the list of data items for the series (the list contains XYZDataItem objects and is unmodifiable).
void add (double x, double y, double z)
 Adds a data item to the series.
void add (Number x, Number y, Number z)
 Adds a data item to the series.
XYZDataItem getDataItem (int index)
 Return the data item with the specified index.
Number getXValue (int index)
 Returns the x-value at the specified index.
Number getYValue (int index)
 Returns the y-value at the specified index.
Number getZValue (int index)
 Returns the z-value at the specified index.

Protected Attributes

List data
 Storage for the data items in the series.


Detailed Description

Represents a collection of XYZ data items.

Modified from JFreeChart.

Title: Data Visualizer

Description:

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Constructor & Destructor Documentation

datavisualizer::XYZSeries::XYZSeries String  name  )  [inline]
 

Constructs a new xy-series that contains no data.

Parameters:
name the series name.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void datavisualizer::XYZSeries::add Number  x,
Number  y,
Number  z
[inline]
 

Adds a data item to the series.

Parameters:
x the x value.
y the y value.
z the z value. This can be null.

Edit history:
------------------
June 29, 2004: Created in beta version (LEM)

void datavisualizer::XYZSeries::add double  x,
double  y,
double  z
[inline]
 

Adds a data item to the series.

Parameters:
x the x value.
y the y value.
z the z value.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

XYZDataItem datavisualizer::XYZSeries::getDataItem int  index  )  [inline]
 

Return the data item with the specified index.

Parameters:
index The index.
Returns:
The data item with the specified index.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

int datavisualizer::XYZSeries::getItemCount  )  [inline]
 

Returns the number of items in the series.

Returns:
The item count.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

List datavisualizer::XYZSeries::getItems  )  [inline]
 

Returns the list of data items for the series (the list contains XYZDataItem objects and is unmodifiable).

Returns:
The list of data items.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Number datavisualizer::XYZSeries::getXValue int  index  )  [inline]
 

Returns the x-value at the specified index.

Parameters:
index The index.
Returns:
The x-value.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Number datavisualizer::XYZSeries::getYValue int  index  )  [inline]
 

Returns the y-value at the specified index.

Parameters:
index The index.
Returns:
The y-value.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Number datavisualizer::XYZSeries::getZValue int  index  )  [inline]
 

Returns the z-value at the specified index.

Parameters:
index The index.
Returns:
The z-value.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:15:29 2006 for SORTIE Java Interface by  doxygen 1.4.6-NO