javax.swing.plaf
public static class BorderUIResource.EmptyBorderUIResource extends EmptyBorder implements UIResource, Serializable
UIResource
,
such as the borders provided by this class.
Constructor Summary | |
---|---|
EmptyBorderUIResource(int top, int left, int bottom, int right)
Constructs an empty border given the number of pixels required
on each side.
| |
EmptyBorderUIResource(Insets insets)
Constructs an empty border given the number of pixels required
on each side, passed in an Insets object.
|
Parameters: top the number of pixels that the border will need for its top edge. left the number of pixels that the border will need for its left edge. bottom the number of pixels that the border will need for its bottom edge. right the number of pixels that the border will need for its right edge.
Parameters: insets the Insets for the new border.