net.infonode.gui.icon.button

Class TreeIcon

public class TreeIcon extends Object implements Icon

Version: $Revision: 1.6 $ $Date: 2005/12/04 13:46:03 $

Author: Jesper Nordenberg

Field Summary
static intMINUS
static intPLUS
Constructor Summary
TreeIcon(int type, int width, int height, boolean border, Color color, Color bgColor)
TreeIcon(int type, int width, int height)
Method Summary
intgetIconHeight()
intgetIconWidth()
voidpaintIcon(Component c, Graphics g, int x, int y)

Field Detail

MINUS

public static final int MINUS

PLUS

public static final int PLUS

Constructor Detail

TreeIcon

public TreeIcon(int type, int width, int height, boolean border, Color color, Color bgColor)

TreeIcon

public TreeIcon(int type, int width, int height)

Method Detail

getIconHeight

public int getIconHeight()

getIconWidth

public int getIconWidth()

paintIcon

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