- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
-
- All Implemented Interfaces:
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.EmptyBorderUIResource extends EmptyBorder implements UIResource
一个空的边界UI资源。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
构造方法摘要
构造方法 Constructor 描述 EmptyBorderUIResource(int top, int left, int bottom, int right)
构造一个EmptyBorderUIResource
。EmptyBorderUIResource(Insets insets)
构造一个EmptyBorderUIResource
。
-
方法摘要
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Methods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, getBorderInsets, isBorderOpaque, paintBorder
-
-
-
-
构造方法详细信息
-
EmptyBorderUIResource
public EmptyBorderUIResource(int top, int left, int bottom, int right)
构造一个EmptyBorderUIResource
。- 参数
-
top
- 边界的顶部插图 -
left
- 边框的左边插图 -
bottom
- 边框的底部插图 -
right
- 边界的正确插图
-
EmptyBorderUIResource
@ConstructorProperties("borderInsets") public EmptyBorderUIResource(Insets insets)
构造一个EmptyBorderUIResource
。- 参数
-
insets
- the insets of the border
-
-