    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.awt.ImageCanvas

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

public class ImageCanvas
extends Canvas

The ImageCanvas class allows an image to be directly added to a container.

##

image

##

ImageCanvas(Image)
  Constructs an image canvas.

##

paint(Graphics)
  Paints the canvas.

##

image

     protected Image image

##

ImageCanvas

     public ImageCanvas(Image img)

  Constructs an image canvas.

##

paint

     public void paint(Graphics g)

  Paints the canvas.

  Overrides:
    paint in class Canvas

    All Packages  Class Hierarchy  This Package  Previous  Next  Index