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
-
CENTER
-
-
NORTHEAST
-
-
NORTHWEST
-
-
SOUTHEAST
-
-
SOUTHWEST
-
-
PictureBox(Image)
-
-
PictureBox(Image, int)
-
-
adjustToImage()
-
-
getAlignment()
-
-
getBorder()
-
-
getImage()
-
-
getImageOffset()
-
-
imageUpdate(Image, int, int, int, int, int)
-
-
minimumSize()
-
-
paint(Graphics)
-
-
preferredSize()
-
-
setAlignment(int)
-
-
setBorder(boolean)
-
-
setImage(Image)
-
CENTER
public static final int CENTER
NORTHWEST
public static final int NORTHWEST
SOUTHWEST
public static final int SOUTHWEST
NORTHEAST
public static final int NORTHEAST
SOUTHEAST
public static final int SOUTHEAST
PictureBox
public PictureBox(Image im)
PictureBox
public PictureBox(Image im,
int alignment)
setImage
public void setImage(Image im)
getImage
public Image getImage()
setBorder
public void setBorder(boolean b)
getBorder
public boolean getBorder()
setAlignment
public void setAlignment(int a)
getAlignment
public int getAlignment()
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
minimumSize
public Dimension minimumSize()
- Overrides:
- minimumSize in class Component
adjustToImage
protected void adjustToImage()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
getImageOffset
protected Point getImageOffset()
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