- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.LineBorder
-
- javax.swing.plaf.BorderUIResource.LineBorderUIResource
-
- 实现的所有接口
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.LineBorderUIResourceextends LineBorderimplements UIResource
线条边界UI资源。- 另请参见:
- Serialized Form
-
-
字段汇总
-
声明的属性在类 javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
-
-
构造方法摘要
构造方法 构造器 描述 LineBorderUIResource(Color color)
构造一个LineBorderUIResource
。LineBorderUIResource(Color color, int thickness)
构造一个LineBorderUIResource
。
-
方法摘要
-
声明方法的类 javax.swing.border.LineBorder
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
-
声明方法的类 javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
构造方法详细信息
-
LineBorderUIResource
public LineBorderUIResource(Color color)
构造一个LineBorderUIResource
。- 参数
-
color
- 边框的颜色
-
LineBorderUIResource
@ConstructorProperties({"lineColor","thickness"})public LineBorderUIResource(Color color, int thickness)
构造一个LineBorderUIResource
。- 参数
-
color
- 边框的颜色 -
thickness
- 边框的粗细
-
-