    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.awt.CategoryGraph2D

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Canvas
                       |
                       +----JSci.awt.DoubleBufferedCanvas
                               |
                               +----JSci.awt.CategoryGraph2D

public abstract class CategoryGraph2D
extends DoubleBufferedCanvas
implements GraphDataListener

The CategoryGraph2D superclass provides an abstract encapsulation of 2D category graphs.

##

model
  Data model.

##

CategoryGraph2D(CategoryGraph2DModel)
  Constructs a 2D category graph.

##

dataChanged(GraphDataEvent)
  Sent when the contents of the model has changed.
getModel()
  Returns the model used by this graph.
round(float)
  Rounds numbers to so many significant figures.
setModel(CategoryGraph2DModel)
  Sets the data plotted by this graph to the specified data.

##

model

     protected CategoryGraph2DModel model

  Data model.

##

CategoryGraph2D

     public CategoryGraph2D(CategoryGraph2DModel cgm)

  Constructs a 2D category graph.

##

setModel

     public final void setModel(CategoryGraph2DModel cgm)

  Sets the data plotted by this graph to the specified data.

getModel

     public final CategoryGraph2DModel getModel()

  Returns the model used by this graph.

round

     protected final float round(float x)

  Rounds numbers to so many significant figures.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index