swingx
Version 2005-08-19

org.jdesktop.swingx.border
Class IconBorder

java.lang.Object
  extended by org.jdesktop.swingx.border.IconBorder
All Implemented Interfaces:
Border

public class IconBorder
extends Object
implements Border

Version:
1.0

Constructor Summary
IconBorder()
           
IconBorder(Icon validIcon)
           
IconBorder(Icon validIcon, int iconPosition)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 void setIcon(Icon validIcon)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconBorder

public IconBorder()

IconBorder

public IconBorder(Icon validIcon)

IconBorder

public IconBorder(Icon validIcon,
                  int iconPosition)
Method Detail

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border

setIcon

public void setIcon(Icon validIcon)

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border

swingx
Version 2005-08-19