org.jdesktop.swingx.painter
Class PainterIcon
java.lang.Object
org.jdesktop.swingx.painter.PainterIcon
- All Implemented Interfaces:
- Icon
public class PainterIcon
- extends Object
- implements Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PainterIcon
public PainterIcon(Dimension size)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
getPainter
public Painter getPainter()
setPainter
public void setPainter(Painter painter)