All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.swing.JCategoryGraph2D

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----JSci.swing.JDoubleBufferedComponent
                                   |
                                   +----JSci.swing.JCategoryGraph2D

public abstract class JCategoryGraph2D
extends JDoubleBufferedComponent
implements GraphDataListener
The JCategoryGraph2D superclass provides an abstract encapsulation of 2D category graphs.


Variable Index

 o model
Data model.

Constructor Index

 o JCategoryGraph2D(CategoryGraph2DModel)
Constructs a 2D category graph.

Method Index

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

Variables

 o model
 protected CategoryGraph2DModel model
Data model.

Constructors

 o JCategoryGraph2D
 public JCategoryGraph2D(CategoryGraph2DModel cgm)
Constructs a 2D category graph.

Methods

 o setModel
 public final void setModel(CategoryGraph2DModel cgm)
Sets the data plotted by this graph to the specified data.

 o getModel
 public final CategoryGraph2DModel getModel()
Returns the model used by this graph.

 o round
 protected final float round(float x)
Rounds numbers to so many significant figures.


All Packages  Class Hierarchy  This Package  Previous  Next  Index