com.lightdev.app.ddnscl.ui
Class TitledLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
com.lightdev.app.ddnscl.ui.TitledLineBorder
- All Implemented Interfaces:
- Border, Serializable
- public class TitledLineBorder
- extends TitledBorder
Title:
Description:
Copyright: Copyright (c) 2004
Company:
- Version:
- 1.0
- Author:
- not attributable
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.border.TitledBorder |
ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, border, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, EDGE_SPACING, LEADING, LEFT, RIGHT, TEXT_INSET_H, TEXT_SPACING, title, titleColor, titleFont, titleJustification, titlePosition, TOP, TRAILING |
|
Method Summary |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified position and size. |
| Methods inherited from class javax.swing.border.TitledBorder |
getBorder, getBorderInsets, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TitledLineBorder
public TitledLineBorder(String title)
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Paints the border for the specified component with the specified position and size.
- Parameters:
c - the component for which this border is being paintedg - the paint graphicsx - the x position of the painted bordery - the y position of the painted borderwidth - the width of the painted borderheight - the height of the painted border