org.pietschy.command.demo
Class BeanIcon
java.lang.Object
org.pietschy.command.demo.BeanIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class BeanIcon
- extends java.lang.Object
- implements javax.swing.Icon
Created by IntelliJ IDEA.
User: andrewp
Date: 12/04/2004
Time: 12:33:37
To change this template use Options | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanIcon
public BeanIcon()
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
redIcon
public static BeanIcon redIcon()
parametisedIcon
public static BeanIcon parametisedIcon(java.lang.String red,
java.lang.String green,
java.lang.String blue)