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.
-
model
- Data model.
-
JCategoryGraph2D(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.
JCategoryGraph2D
public JCategoryGraph2D(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