All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.awt.DoubleBufferedCanvas

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

public abstract class DoubleBufferedCanvas
extends Canvas
The DoubleBufferedCanvas class provides double buffering functionality.


Constructor Index

 o DoubleBufferedCanvas()
Constructs a double buffered canvas.

Method Index

 o offscreenPaint(Graphics)
Paints the canvas off-screen.
 o paint(Graphics)
Paints the canvas using double buffering.
 o redraw()
Redraws the canvas.
 o update(Graphics)
Updates the canvas.

Constructors

 o DoubleBufferedCanvas
 public DoubleBufferedCanvas()
Constructs a double buffered canvas.

Methods

 o paint
 public final void paint(Graphics g)
Paints the canvas using double buffering.

Overrides:
paint in class Canvas
See Also:
offscreenPaint
 o update
 public final void update(Graphics g)
Updates the canvas.

Overrides:
update in class Component
 o redraw
 public final void redraw()
Redraws the canvas.

 o offscreenPaint
 protected abstract void offscreenPaint(Graphics g)
Paints the canvas off-screen. Override this method instead of paint(Graphics g).


All Packages  Class Hierarchy  This Package  Previous  Next  Index