com.croftsoft.core.animation.painter
Class IconPainter
java.lang.Object
com.croftsoft.core.animation.painter.AbstractXYPainter
com.croftsoft.core.animation.painter.IconPainter
- All Implemented Interfaces:
- ComponentPainter, XYPainter
public class IconPainter
- extends AbstractXYPainter
Paints an Icon at an (x,y) position.
- Since:
- 2002-02-14
- Version:
- 2003-07-11
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
icon
protected Icon icon
IconPainter
public IconPainter(int x,
int y,
Icon icon)
IconPainter
public IconPainter(Icon icon)
getIcon
public Icon getIcon()
setIcon
public void setIcon(Icon icon)
paint
public void paint(JComponent component,
Graphics2D graphics)
CroftSoft Core Javadoc (2008-09-28 20:58:02)