javax.swing.plaf
Class BorderUIResource.TitledBorderUIResource
- 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
-
-
Field Summary
-
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
Constructors Constructor and Description TitledBorderUIResource(Border border)
TitledBorderUIResource(Border border, String title)
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
TitledBorderUIResource(String title)
-
Method Summary
-
Methods inherited from class javax.swing.border.TitledBorder
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
-
Methods inherited from class javax.swing.border.AbstractBorder
getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Constructor Detail
TitledBorderUIResource
public TitledBorderUIResource(String title)
TitledBorderUIResource
public TitledBorderUIResource(Border border)
TitledBorderUIResource
public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
TitledBorderUIResource
public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.