    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface JSci.awt.CategoryGraph2DModel

public interface CategoryGraph2DModel

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

##

addGraphDataListener(GraphDataListener)
  Add a listener.
firstSeries()
  Selects the first data series.
getCategory(int)
  Returns the ith category.
getValue(int)
  Returns the value for the ith category.
nextSeries()
  Selects the next data series.
removeGraphDataListener(GraphDataListener)
  Remove a listener.
seriesLength()
  Returns the length of the current series.

##

addGraphDataListener

     public abstract void addGraphDataListener(GraphDataListener l)

  Add a listener.

removeGraphDataListener

     public abstract void removeGraphDataListener(GraphDataListener l)

  Remove a listener.

getCategory

     public abstract String getCategory(int i)

  Returns the ith category.

getValue

     public abstract float getValue(int i)

  Returns the value for the ith category.

seriesLength

     public abstract int seriesLength()

  Returns the length of the current series.

firstSeries

     public abstract void firstSeries()

  Selects the first data series.

nextSeries

     public abstract boolean nextSeries()

  Selects the next data series. Returns false if there is no next series.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index