public static class BorderUIResource.TitledBorderUIResource extends TitledBorder implements UIResource
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 and Description |
---|
TitledBorderUIResource(Border border)
Constructs a
TitledBorderUIResource . |
TitledBorderUIResource(Border border,
String title)
Constructs a
TitledBorderUIResource . |
TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition)
Constructs a
TitledBorderUIResource . |
TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Constructs a
TitledBorderUIResource . |
TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Constructs a
TitledBorderUIResource . |
TitledBorderUIResource(String title)
Constructs a
TitledBorderUIResource . |
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
getBorderInsets, getInteriorRectangle, getInteriorRectangle
public TitledBorderUIResource(String title)
TitledBorderUIResource
.title
- the title the border should displaypublic TitledBorderUIResource(Border border)
TitledBorderUIResource
.border
- the borderpublic TitledBorderUIResource(Border border, String title)
TitledBorderUIResource
.border
- the bordertitle
- the title the border should displaypublic TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
TitledBorderUIResource
.border
- the bordertitle
- the title the border should displaytitleJustification
- the justification fro the titletitlePosition
- the position for the titlepublic TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
TitledBorderUIResource
.border
- the bordertitle
- the title the border should displaytitleJustification
- the justification fro the titletitlePosition
- the position for the titletitleFont
- the font for rendering the title@ConstructorProperties(value={"border","title","titleJustification","titlePosition","titleFont","titleColor"}) public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
TitledBorderUIResource
.border
- the bordertitle
- the title the border should displaytitleJustification
- the justification fro the titletitlePosition
- the position for the titletitleFont
- the font for rendering the titletitleColor
- the color of the title Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait