org.pietschy.command.demo

Class BeanIcon

Implemented Interfaces:
Icon

public class BeanIcon
extends java.lang.Object
implements 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(Component c, Graphics g, int x, int y)
static BeanIcon
parametisedIcon(String red, String green, String blue)
static BeanIcon
redIcon()

Constructor Details

BeanIcon

public BeanIcon()

Method Details

getIconHeight

public int getIconHeight()

getIconWidth

public int getIconWidth()

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)

parametisedIcon

public static BeanIcon parametisedIcon(String red,
                                       String green,
                                       String blue)

redIcon

public static BeanIcon redIcon()