All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tropo.awt.TRBufferedCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----tropo.awt.TRBufferedCanvas

public abstract class TRBufferedCanvas
extends Canvas
Copyright (c) 1997-1998 Tropo. All Rights Reserved.

Buffered, offscreen, flicker-free drawing for a canvas.


Variable Index

 o o
For debugging.

Constructor Index

 o TRBufferedCanvas()
 o TRBufferedCanvas(int, int)
No direct newing.

Method Index

 o draw(Graphics)
Dervied classes must override this and do the real work of drawing an image.
 o invalidate()
Not really needed but in for completeness.
 o minimumSize()
 o paint(Graphics)
 o preferredSize()
 o setSize(int, int)
 o update(Graphics)

Variables

 o o
 protected static final PrintStream o
For debugging.

Constructors

 o TRBufferedCanvas
 protected TRBufferedCanvas(int w,
                            int h)
No direct newing.

 o TRBufferedCanvas
 protected TRBufferedCanvas()

Methods

 o setSize
 public void setSize(int w,
                     int h)
Overrides:
setSize in class Component
 o minimumSize
 public final Dimension minimumSize()
Overrides:
minimumSize in class Component
 o preferredSize
 public final Dimension preferredSize()
Overrides:
preferredSize in class Component
 o update
 public final void update(Graphics g)
Overrides:
update in class Component
 o paint
 public final void paint(Graphics g)
Overrides:
paint in class Canvas
 o invalidate
 public void invalidate()
Not really needed but in for completeness.

Overrides:
invalidate in class Component
 o draw
 protected abstract void draw(Graphics g)
Dervied classes must override this and do the real work of drawing an image.


All Packages  Class Hierarchy  This Package  Previous  Next  Index