info.aduna.swing
Class HeadingBorder
java.lang.Object
info.aduna.swing.HeadingBorder
- All Implemented Interfaces:
- Border
public class HeadingBorder
- extends Object
- implements Border
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FONT
public static final Font FONT
INSETS
public static final Insets INSETS
TEXT_Y_OFFSET
public static final int TEXT_Y_OFFSET
DEFAULT_BACKGROUND
public static final Color DEFAULT_BACKGROUND
DEFAULT_FOREGROUND
public static final Color DEFAULT_FOREGROUND
HeadingBorder
public HeadingBorder(String heading)
setHeading
public void setHeading(String heading)
setBackground
public void setBackground(Color background)
setForeground
public void setForeground(Color foreground)
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets in interface Border
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
Copyright © 1997-2008 Aduna. All Rights Reserved.