JSci.awt
Interface Graph3DModel

All Known Implementing Classes:
DefaultGraph3DModel

public interface Graph3DModel

This is a generic interface for sending data to 3D graphs.


Method Summary
 void addGraphDataListener(GraphDataListener l)
          Add a listener.
 void firstSeries()
          Selects the first data series.
 float getXCoord(int i)
          Returns the x coordinate for the ith point.
 float getYCoord(int i)
          Returns the y coordinate for the ith point.
 float getZCoord(int i)
          Returns the z coordinate for the ith point.
 boolean nextSeries()
          Selects the next data series.
 void removeGraphDataListener(GraphDataListener l)
          Remove a listener.
 int seriesLength()
          Returns the number of data points in the current series.
 

Method Detail

addGraphDataListener

void addGraphDataListener(GraphDataListener l)
Add a listener.


removeGraphDataListener

void removeGraphDataListener(GraphDataListener l)
Remove a listener.


getXCoord

float getXCoord(int i)
Returns the x coordinate for the ith point.


getYCoord

float getYCoord(int i)
Returns the y coordinate for the ith point.


getZCoord

float getZCoord(int i)
Returns the z coordinate for the ith point.


seriesLength

int seriesLength()
Returns the number of data points in the current series.


firstSeries

void firstSeries()
Selects the first data series.


nextSeries

boolean nextSeries()
Selects the next data series. Returns false if there is no next series.