org.jdesktop.swingx.border
Class IconBorder
java.lang.Object
org.jdesktop.swingx.border.IconBorder
- All Implemented Interfaces:
- Border
public class IconBorder
- extends Object
- implements Border
- Version:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IconBorder
public IconBorder()
IconBorder
public IconBorder(Icon validIcon)
IconBorder
public IconBorder(Icon validIcon,
int iconPosition)
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