javax.swing.plaf
public static class BorderUIResource.CompoundBorderUIResource extends CompoundBorder implements UIResource, Serializable
UIResource,
such as the borders provided by this class.
| Constructor Summary | |
|---|---|
| CompoundBorderUIResource(Border outsideBorder, Border insideBorder)
Constructs a CompoundBorderUIResource with the specified inside
and outside borders.
| |
Parameters: outsideBorder the outside border, which is painted to the
outside of both insideBorder and the enclosed
component. It is acceptable to pass null, in
which case no outside border is painted.
insideBorder the inside border, which is painted to
between outsideBorder and the enclosed
component. It is acceptable to pass null, in
which case no inside border is painted.