All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.ImagePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----symantec.itools.awt.ImagePanel
- public class ImagePanel
- extends Panel
-
IMAGE_CENTERED
-
-
IMAGE_SCALED_TO_FIT
-
-
IMAGE_TILED
-
-
ImagePanel()
-
-
getImage()
-
-
getImageURL()
-
-
getStyle()
-
-
paint(Graphics)
- Paints this component using the given graphics context.
-
setImageURL(URL)
-
-
setStyle(int)
-
IMAGE_TILED
public final static int IMAGE_TILED
IMAGE_CENTERED
public final static int IMAGE_CENTERED
IMAGE_SCALED_TO_FIT
public final static int IMAGE_SCALED_TO_FIT
ImagePanel
public ImagePanel()
paint
public void paint(Graphics g)
- Paints this component using the given graphics context.
This is a standard Java AWT method which typically gets called
by the AWT to handle painting this component. It paints this component
using the given graphics context. The graphics context clipping region
is set to the bounding rectangle of this component and its <0,0>
coordinate is this component's top-left corner.
- Parameters:
- g - the graphics context used for painting
- Overrides:
- paint in class Container
- See Also:
- repaint, update
setImageURL
public void setImageURL(URL url)
getImageURL
public URL getImageURL()
setStyle
public void setStyle(int newStyle)
getStyle
public int getStyle()
getImage
public Image getImage()
All Packages Class Hierarchy This Package Previous Next Index