java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.border.MatteBorder
javax.swing.plaf.BorderUIResource.MatteBorderUIResource
- 所有实现的接口:
-
Serializable
,Border
,UIResource
- 封装类:
-
BorderUIResource
public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource
一个磨砂边框UI资源。
-
Field Summary
Fields declared in class javax.swing.border.MatteBorder
color, tileIcon
Fields declared in class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Constructor Summary
ConstructorDescriptionMatteBorderUIResource
(int top, int left, int bottom, int right, Color color) 构造一个MatteBorderUIResource
。MatteBorderUIResource
(int top, int left, int bottom, int right, Icon tileIcon) 构造一个MatteBorderUIResource
。MatteBorderUIResource
(Icon tileIcon) 构造一个MatteBorderUIResource
。 -
Method Summary
Methods declared in class javax.swing.border.MatteBorder
getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
MatteBorderUIResource
构造一个MatteBorderUIResource
。- 参数:
-
top
- 边框的顶部插图 -
left
- 边框的左侧插图 -
bottom
- 边框的底部插图 -
right
- 边框的右侧插图 -
color
- 用于渲染边框的颜色
-
MatteBorderUIResource
构造一个MatteBorderUIResource
。- 参数:
-
top
- 边框的顶部插图 -
left
- 边框的左侧插图 -
bottom
- 边框的底部插图 -
right
- 边框的右侧插图 -
tileIcon
- 用于平铺边框的图标
-
MatteBorderUIResource
构造一个MatteBorderUIResource
。- 参数:
-
tileIcon
- 用于平铺边框的图标
-