[all packages] [package ] [class hierarchy] [index]

public class CanvasDrawer

(source file: CanvasDrawer.java)
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----CanvasDrawer

The pure class interface.
public class CanvasDrawer
  extends Canvas
A canvas containing a drawing area for a graph.

Author:
Alan Jeffrey
Version: v1.02 1998/06/27
See also:
Drawer

Constuctor Index

O CanvasDrawer(Drawable, Solution, Font)
Create a new canvas containing a graph.

Methods

O paint(Graphics)
O translate(int, int)

Constructors

O CanvasDrawer
public CanvasDrawer(Drawable d,
                    Solution s,
                    Font textFont);
Create a new canvas containing a graph.

Parameters:
d - the graph to draw.
s - the solution set for the graph.
textFont - the font to use.

Methods

O translate
public void translate(int x,
                      int y);

O paint

public void paint(Graphics g);


[all packages] [package ] [class hierarchy] [index]
CanvasDrawer.html