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.
-
Field Summary
Fields declared in class javax.swing.border.EmptyBorder
bottom, left, right, top -
Constructor Summary
ConstructorsConstructorDescriptionEmptyBorderUIResource(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, paintBorderMethods 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) 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
Constructs anEmptyBorderUIResource.- Parameters:
insets- the insets of the border- Throws:
NullPointerException- if the spcecifiedinsetsisnull
-