All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.misc.PictureBox

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----improv.misc.PictureBox

public final class PictureBox
extends Canvas

Variable Index

 o CENTER
 o NORTHEAST
 o NORTHWEST
 o SOUTHEAST
 o SOUTHWEST

Constructor Index

 o PictureBox(Image)
 o PictureBox(Image, int)

Method Index

 o adjustToImage()
 o getAlignment()
 o getBorder()
 o getImage()
 o getImageOffset()
 o imageUpdate(Image, int, int, int, int, int)
 o minimumSize()
 o paint(Graphics)
 o preferredSize()
 o setAlignment(int)
 o setBorder(boolean)
 o setImage(Image)

Variables

 o CENTER
 public static final int CENTER
 o NORTHWEST
 public static final int NORTHWEST
 o SOUTHWEST
 public static final int SOUTHWEST
 o NORTHEAST
 public static final int NORTHEAST
 o SOUTHEAST
 public static final int SOUTHEAST

Constructors

 o PictureBox
 public PictureBox(Image im)
 o PictureBox
 public PictureBox(Image im,
                   int alignment)

Methods

 o setImage
 public void setImage(Image im)
 o getImage
 public Image getImage()
 o setBorder
 public void setBorder(boolean b)
 o getBorder
 public boolean getBorder()
 o setAlignment
 public void setAlignment(int a)
 o getAlignment
 public int getAlignment()
 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
 public Dimension minimumSize()
Overrides:
minimumSize in class Component
 o adjustToImage
 protected void adjustToImage()
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Canvas
 o getImageOffset
 protected Point getImageOffset()
 o imageUpdate
 public boolean imageUpdate(Image img,
                            int infoflags,
                            int x,
                            int y,
                            int width,
                            int height)
Overrides:
imageUpdate in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index