smooth.basic
Class SmoothTitledBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
smooth.basic.SmoothTitledBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
public class SmoothTitledBorder
- extends javax.swing.border.TitledBorder
Titled border with anti-aliasing capibility.
- Version:
- 1.0
- Author:
- James Shiell
- 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 |
|
Constructor Summary |
SmoothTitledBorder(javax.swing.border.Border border)
|
SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title)
|
SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition)
|
SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
java.awt.Font titleFont)
|
SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
java.awt.Font titleFont,
java.awt.Color titleColor)
|
SmoothTitledBorder(java.lang.String title)
|
|
Method Summary |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
| Methods inherited from class javax.swing.border.TitledBorder |
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition |
| Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmoothTitledBorder
public SmoothTitledBorder(javax.swing.border.Border border)
SmoothTitledBorder
public SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title)
SmoothTitledBorder
public SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition)
SmoothTitledBorder
public SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
java.awt.Font titleFont)
SmoothTitledBorder
public SmoothTitledBorder(javax.swing.border.Border border,
java.lang.String title,
int titleJustification,
int titlePosition,
java.awt.Font titleFont,
java.awt.Color titleColor)
SmoothTitledBorder
public SmoothTitledBorder(java.lang.String title)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface javax.swing.border.Border- Overrides:
paintBorder in class javax.swing.border.TitledBorder
Licensed under the MIT license.