java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.TitledBorder
javax.swing.plaf.BorderUIResource.TitledBorderUIResource
- All Implemented Interfaces:
- Serializable,- Border,- UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.TitledBorderUIResource
extends TitledBorder
implements UIResource
A titled border UI resource.
- 
Field SummaryFields declared in class javax.swing.border.TitledBorderABOVE_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 SummaryConstructorsConstructorDescriptionTitledBorderUIResource(String title) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border, String title) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont) Constructs aTitledBorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) Constructs aTitledBorderUIResource.
- 
Method SummaryMethods declared in class javax.swing.border.TitledBordergetBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePositionMethods declared in class javax.swing.border.AbstractBordergetBorderInsets, getInteriorRectangle, getInteriorRectangle
- 
Constructor Details- 
TitledBorderUIResourceConstructs aTitledBorderUIResource.- Parameters:
- title- the title the border should display
 
- 
TitledBorderUIResourceConstructs aTitledBorderUIResource.- Parameters:
- border- the border
 
- 
TitledBorderUIResourceConstructs aTitledBorderUIResource.- Parameters:
- border- the border
- title- the title the border should display
 
- 
TitledBorderUIResourcepublic TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition) Constructs aTitledBorderUIResource.- Parameters:
- border- the border
- title- the title the border should display
- titleJustification- the justification for the title
- titlePosition- the position for the title
 
- 
TitledBorderUIResourcepublic TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont) Constructs aTitledBorderUIResource.- Parameters:
- border- the border
- title- the title the border should display
- titleJustification- the justification for the title
- titlePosition- the position for the title
- titleFont- the font for rendering the title
 
- 
TitledBorderUIResource@ConstructorProperties({"border","title","titleJustification","titlePosition","titleFont","titleColor"}) public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) Constructs aTitledBorderUIResource.- Parameters:
- border- the border
- title- the title the border should display
- titleJustification- the justification for the title
- titlePosition- the position for the title
- titleFont- the font for rendering the title
- titleColor- the color of the title
 
 
-