- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.TitledBorder
-
- javax.swing.plaf.BorderUIResource.TitledBorderUIResource
-
- 实现的所有接口
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.TitledBorderUIResource extends TitledBorder implements UIResource
标题边框UI资源。- 另请参见:
- Serialized Form
-
-
字段汇总
-
声明的属性在类 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
-
-
构造方法摘要
构造方法 构造器 描述 TitledBorderUIResource(String title)
构造一个TitledBorderUIResource
。TitledBorderUIResource(Border border)
构造一个TitledBorderUIResource
。TitledBorderUIResource(Border border, String title)
构造一个TitledBorderUIResource
。TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
构造一个TitledBorderUIResource
。TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
构造一个TitledBorderUIResource
。TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
构造一个TitledBorderUIResource
。
-
方法摘要
-
声明方法的类 javax.swing.border.TitledBorder
getBaseline, getBaselineResizeBehavior, getBorder, getBorderInsets, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
-
声明方法的类 javax.swing.border.AbstractBorder
getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
构造方法详细信息
-
TitledBorderUIResource
public TitledBorderUIResource(String title)
构造一个TitledBorderUIResource
。- 参数
-
title
- 边框应显示的标题
-
TitledBorderUIResource
public TitledBorderUIResource(Border border)
构造一个TitledBorderUIResource
。- 参数
-
border
- 边界
-
TitledBorderUIResource
public TitledBorderUIResource(Border border, String title)
构造一个TitledBorderUIResource
。- 参数
-
border
- 边界 -
title
- 边框应显示的标题
-
TitledBorderUIResource
public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition)
构造一个TitledBorderUIResource
。- 参数
-
border
- 边界 -
title
- 边框应显示的标题 -
titleJustification
- 标题的理由 -
titlePosition
- 标题的位置
-
TitledBorderUIResource
public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
构造一个TitledBorderUIResource
。- 参数
-
border
- 边界 -
title
- 边框应显示的标题 -
titleJustification
- 标题的理由 -
titlePosition
- 标题的位置 -
titleFont
- 呈现标题的字体
-
TitledBorderUIResource
@ConstructorProperties({"border","title","titleJustification","titlePosition","titleFont","titleColor"}) public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
构造一个TitledBorderUIResource
。- 参数
-
border
- 边界 -
title
- 边框应显示的标题 -
titleJustification
- 标题的理由 -
titlePosition
- 标题的位置 -
titleFont
- 呈现标题的字体 -
titleColor
- 标题的颜色
-
-