javax.swing.plaf
public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource, Serializable
UIResource
,
such as the borders provided by this class.
Constructor Summary | |
---|---|
MatteBorderUIResource(int top, int left, int bottom, int right, Color color)
Constructs a MatteBorderUIResource given the width on each side
and a fill color.
| |
MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
Constructs a MatteBorderUIResource given the width on each side
and an icon for tiling the border area.
| |
MatteBorderUIResource(Icon tileIcon)
Constructs a MatteBorderUIResource given an icon for tiling the
border area. |
Parameters: top the width of the border at its top edge. left the width of the border at its left edge. bottom the width of the border at its bottom edge. right the width of the border at its right edge. color the color for filling the border.
Parameters: top the width of the border at its top edge. left the width of the border at its left edge. bottom the width of the border at its bottom edge. right the width of the border at its right edge. tileIcon an icon for tiling the border area.
Parameters: tileIcon an icon for tiling the border area.