java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
- 所有已实现的接口:
-
Serializable
,Border
,UIResource
- 封装类:
-
BorderUIResource
public static class BorderUIResource.EmptyBorderUIResource extends EmptyBorder implements UIResource
一个空的边框UI资源。
-
Field Summary
Fields declared in class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Constructor Summary
ConstructorDescriptionEmptyBorderUIResource
(int top, int left, int bottom, int right) 构造一个EmptyBorderUIResource
。EmptyBorderUIResource
(Insets insets) 构造一个EmptyBorderUIResource
。 -
Method Summary
Methods declared in class javax.swing.border.EmptyBorder
getBorderInsets, getBorderInsets, isBorderOpaque, paintBorder
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
EmptyBorderUIResource
public EmptyBorderUIResource(int top, int left, int bottom, int right) 构造一个EmptyBorderUIResource
。- 参数:
-
top
- 边框的顶部插图 -
left
- 边框的左侧插图 -
bottom
- 边框的底部插图 -
right
- 边框的右侧插图
-
EmptyBorderUIResource
构造一个EmptyBorderUIResource
。- 参数:
-
insets
- 边框的插图 - 抛出:
-
NullPointerException
- 如果指定的insets
为null
-