- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.border.MatteBorder
-
- javax.swing.plaf.BorderUIResource.MatteBorderUIResource
-
- All Implemented Interfaces:
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource
无边界的UI资源。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Fields inherited from class javax.swing.border.MatteBorder
color, tileIcon
-
-
构造方法摘要
构造方法 Constructor 描述 MatteBorderUIResource(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
。
-
方法摘要
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Methods inherited from class javax.swing.border.MatteBorder
getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
-
-
-
-
构造方法详细信息
-
MatteBorderUIResource
public MatteBorderUIResource(int top, int left, int bottom, int right, Color color)
构造一个MatteBorderUIResource
。- 参数
-
top
- 边界的顶部插图 -
left
- 边框的左边插图 -
bottom
- 边框的底部插图 -
right
- 边界的正确插图 -
color
- 为边框渲染的颜色
-
MatteBorderUIResource
public MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
构造一个MatteBorderUIResource
。- 参数
-
top
- 边界的顶级插图 -
left
- 边框的左边插图 -
bottom
- 边框的底部插图 -
right
- 边界的正确插图 -
tileIcon
- 用于平铺边框的图标
-
MatteBorderUIResource
public MatteBorderUIResource(Icon tileIcon)
构造一个MatteBorderUIResource
。- 参数
-
tileIcon
- 用于平铺边框的图标
-
-