com.croftsoft.core.animation.icon
Class StretchImageIcon
java.lang.Object
javax.swing.ImageIcon
com.croftsoft.core.animation.icon.StretchImageIcon
- All Implemented Interfaces:
- Serializable, Accessible, Icon
public final class StretchImageIcon
- extends ImageIcon
ImageIcon that stretches its painting across the entire Component.
- Since:
- 2002-02-17
- Version:
- 2002-03-16
- See Also:
- Serialized Form
- Author:
- David Wallace Croft
Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString |
StretchImageIcon
public StretchImageIcon(Image image)
StretchImageIcon
public StretchImageIcon(URL location)
paintIcon
public void paintIcon(Component component,
Graphics graphics,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
- Overrides:
paintIcon
in class ImageIcon
CroftSoft Core Javadoc (2008-09-28 20:58:02)