All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Widgets.ImageLabel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----Acme.Widgets.ImageLabel

public class ImageLabel
extends Canvas
A label with an image instead of a string.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o ImageLabel(Image)
Constructor.

Method Index

 o imageUpdate(Image, int, int, int, int, int)
 o minimumSize()
 o paint(Graphics)
 o preferredSize()
 o setImage(Image)
Sets the image.

Constructors

 o ImageLabel
 public ImageLabel(Image image)
Constructor.

Methods

 o setImage
 public void setImage(Image image)
Sets the image.

 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
 public Dimension minimumSize()
Overrides:
minimumSize in class Component
 o paint
 public void paint(Graphics graphics)
Overrides:
paint in class Canvas
 o imageUpdate
 public boolean imageUpdate(Image img,
                            int infoflags,
                            int x,
                            int y,
                            int w,
                            int h)
Overrides:
imageUpdate in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs