java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.LineBorder
javax.swing.plaf.BorderUIResource.LineBorderUIResource
- 所有已实现的接口:
-
Serializable
,Border
,UIResource
- 封装类:
-
BorderUIResource
线边框UI资源。
-
Field Summary
Fields declared in class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
-
Constructor Summary
ConstructorDescriptionLineBorderUIResource
(Color color) 构造一个LineBorderUIResource
。LineBorderUIResource
(Color color, int thickness) 构造一个LineBorderUIResource
。 -
Method Summary
Methods declared in class javax.swing.border.LineBorder
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
LineBorderUIResource
构造一个LineBorderUIResource
。- 参数:
-
color
- 边框的颜色
-
LineBorderUIResource
@ConstructorProperties({"lineColor","thickness"}) public LineBorderUIResource(Color color, int thickness) 构造一个LineBorderUIResource
。- 参数:
-
color
- 边框的颜色 -
thickness
- 边框的厚度
-