All Packages Class Hierarchy This Package Previous Next Index
Class JSci.awt.BarGraph
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----JSci.awt.DoubleBufferedCanvas
|
+----JSci.awt.CategoryGraph2D
|
+----JSci.awt.BarGraph
- public class BarGraph
- extends CategoryGraph2D
A bar graph AWT component.
-
BarGraph(CategoryGraph2DModel)
- Constructs a bar graph.
-
dataChanged(GraphDataEvent)
- Implementation of GraphDataListener.
-
getMinimumSize()
- Returns the minimum size of this component.
-
getPreferredSize()
- Returns the preferred size of this component.
-
offscreenPaint(Graphics)
- Paint the graph.
-
setBounds(int, int, int, int)
- Reshapes the BarGraph to the specified bounding box.
-
setNumbering(boolean)
- Turns axis numbering on/off.
BarGraph
public BarGraph(CategoryGraph2DModel cgm)
- Constructs a bar graph.
dataChanged
public void dataChanged(GraphDataEvent e)
- Implementation of GraphDataListener.
- Overrides:
- dataChanged in class CategoryGraph2D
setNumbering
public void setNumbering(boolean flag)
- Turns axis numbering on/off.
getPreferredSize
public Dimension getPreferredSize()
- Returns the preferred size of this component.
- Overrides:
- getPreferredSize in class Component
getMinimumSize
public Dimension getMinimumSize()
- Returns the minimum size of this component.
- Overrides:
- getMinimumSize in class Component
offscreenPaint
protected void offscreenPaint(Graphics g)
- Paint the graph.
- Overrides:
- offscreenPaint in class DoubleBufferedCanvas
setBounds
public final void setBounds(int x,
int y,
int width,
int height)
- Reshapes the BarGraph to the specified bounding box.
- Overrides:
- setBounds in class Component
All Packages Class Hierarchy This Package Previous Next Index