- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.LineBorder
-
- javax.swing.plaf.BorderUIResource.LineBorderUIResource
-
- All Implemented Interfaces:
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.LineBorderUIResource extends LineBorder implements UIResource
线边界UI资源。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
-
-
构造方法摘要
构造方法 Constructor 描述 LineBorderUIResource(Color color)
构造一个LineBorderUIResource
。LineBorderUIResource(Color color, int thickness)
构造一个LineBorderUIResource
。
-
方法摘要
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Methods inherited from class javax.swing.border.LineBorder
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
-
-
-
-
构造方法详细信息
-
LineBorderUIResource
public LineBorderUIResource(Color color)
构造一个LineBorderUIResource
。- 参数
-
color
- 边框的颜色
-
LineBorderUIResource
@ConstructorProperties({"lineColor","thickness"}) public LineBorderUIResource(Color color, int thickness)
构造一个LineBorderUIResource
。- 参数
-
color
- 边框的颜色 -
thickness
- 边框的厚度
-
-