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

Variable Index

 o IMAGE_CENTERED
 o IMAGE_SCALED_TO_FIT
 o IMAGE_TILED

Constructor Index

 o ImagePanel()

Method Index

 o getImage()
 o getImageURL()
 o getStyle()
 o paint(Graphics)
Paints this component using the given graphics context.
 o setImageURL(URL)
 o setStyle(int)

Variables

 o IMAGE_TILED
  public final static int IMAGE_TILED
 o IMAGE_CENTERED
  public final static int IMAGE_CENTERED
 o IMAGE_SCALED_TO_FIT
  public final static int IMAGE_SCALED_TO_FIT

Constructors

 o ImagePanel
  public ImagePanel()

Methods

 o 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
 o setImageURL
  public void setImageURL(URL url)
 o getImageURL
  public URL getImageURL()
 o setStyle
  public void setStyle(int newStyle)
 o getStyle
  public int getStyle()
 o getImage
  public Image getImage()

All Packages  Class Hierarchy  This Package  Previous  Next  Index