    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.awt.DefaultGraph2DModel

    java.lang.Object
       |
       +----JSci.awt.AbstractGraphModel
               |
               +----JSci.awt.DefaultGraph2DModel

public final class DefaultGraph2DModel
extends AbstractGraphModel
implements Graph2DModel

The DefaultGraph2DModel class provides a default implementation of the Graph2DModel interface.

##

DefaultGraph2DModel()

##

addSeries(double[])
addSeries(float[])
changeSeries(int, double[])
changeSeries(int, float[])
firstSeries()
getSeries(int)
getXAxis()
getXCoord(int)
getYCoord(int)
nextSeries()
removeSeries(int)
seriesLength()
setSeriesVisible(int, boolean)
setXAxis(double[])
setXAxis(float, float, int)
setXAxis(float[])

##

DefaultGraph2DModel

     public DefaultGraph2DModel()

##

setXAxis

     public void setXAxis(float x[])

setXAxis

     public void setXAxis(double x[])

setXAxis

     public void setXAxis(float a,
                          float b,
                          int n)

getXAxis

     public float[] getXAxis()

addSeries

     public void addSeries(float newSeries[])

addSeries

     public void addSeries(double newSeries[])

changeSeries

     public void changeSeries(int i,
                              float newSeries[])

changeSeries

     public void changeSeries(int i,
                              double newSeries[])

removeSeries

     public void removeSeries(int i)

getSeries

     public float[] getSeries(int i)

setSeriesVisible

     public void setSeriesVisible(int i,
                                  boolean flag)

getXCoord

     public float getXCoord(int i)

getYCoord

     public float getYCoord(int i)

seriesLength

     public int seriesLength()

firstSeries

     public void firstSeries()

nextSeries

     public boolean nextSeries()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index