- 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
An empty border UI resource.- See Also:
- Serialized Form
Field Summary
Fields declared in class javax.swing.border.EmptyBorder
bottom, left, right, top
Constructor Summary
Constructors Constructor Description EmptyBorderUIResource(int top, int left, int bottom, int right)
Constructs anEmptyBorderUIResource
.EmptyBorderUIResource(Insets insets)
Constructs anEmptyBorderUIResource
.
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 Detail
EmptyBorderUIResource
public EmptyBorderUIResource(int top, int left, int bottom, int right)
Constructs anEmptyBorderUIResource
.- Parameters:
top
- the top inset of the borderleft
- the left inset of the borderbottom
- the bottom inset of the borderright
- the right inset of the border
EmptyBorderUIResource
@ConstructorProperties("borderInsets") public EmptyBorderUIResource(Insets insets)
Constructs anEmptyBorderUIResource
.- Parameters:
insets
- the insets of the border