public class InsetsUIResource extends Insets implements Cloneable, UIResource, Serializable
Insets
that is marked as UIResource
,
which indicates that it has been installed by a pluggable
LookAndFeel. Such insets are replaced when the LookAndFeel changes.Constructor and Description |
---|
InsetsUIResource(int top,
int left,
int bottom,
int right)
Constructs a new
InsetsUIResource given the
inset at each edge. |
public InsetsUIResource(int top, int left, int bottom, int right)
InsetsUIResource
given the
inset at each edge.top
- the inset at the top, in pixels.left
- the inset at the left, in pixels.bottom
- the inset at the bottom, in pixels.right
- the inset at the right, in pixels.