org.pietschy.command.demo
Class BeanIcon

java.lang.Object
  extended by 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.


Constructor Summary
BeanIcon()
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
static BeanIcon parametisedIcon(java.lang.String red, java.lang.String green, java.lang.String blue)
           
static BeanIcon redIcon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanIcon

public BeanIcon()
Method Detail

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)