Serializable
, Border
, UIResource
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 | Description |
---|---|
TitledBorderUIResource(String title) |
Constructs a
TitledBorderUIResource . |
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 . |
getBorderInsets, getInteriorRectangle, getInteriorRectangle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
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({"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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps