net.infonode.gui.icon.button

Class BorderIcon

public class BorderIcon extends Object implements Icon

Constructor Summary
BorderIcon(Icon icon, int borderSize)
BorderIcon(Icon icon, Color color, Insets insets)
Method Summary
intgetIconHeight()
intgetIconWidth()
voidpaintIcon(Component c, Graphics g, int x, int y)

Constructor Detail

BorderIcon

public BorderIcon(Icon icon, int borderSize)

BorderIcon

public BorderIcon(Icon icon, Color color, Insets insets)

Method Detail

getIconHeight

public int getIconHeight()

getIconWidth

public int getIconWidth()

paintIcon

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