All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gag.xtp.ImageCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----gag.xtp.ImageCanvas

public class ImageCanvas
extends Canvas



Variable Index

 o image
 o imageProducer
 o size

Constructor Index

 o ImageCanvas(int, int)

Method Index

 o clearImageProducer()
 o getImageProducer()
 o paint(Graphics)
Paints the canvas in the default background color.
 o preferredSize()
 o setImageProducer(ImageProducer)

Variables

 o size
 protected Dimension size
 o imageProducer
 protected ImageProducer imageProducer
 o image
 protected Image image

Constructors

 o ImageCanvas
 public ImageCanvas(int width,
                    int height)

Methods

 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o getImageProducer
 public ImageProducer getImageProducer()
 o setImageProducer
 public void setImageProducer(ImageProducer imageProducer)
 o clearImageProducer
 public void clearImageProducer()
 o paint
 public void paint(Graphics g)
Paints the canvas in the default background color.

Overrides:
paint in class Canvas

All Packages  Class Hierarchy  This Package  Previous  Next  Index