javax.swing.plaf
Class InsetsUIResource
java.lang.Object
java.awt.Insets
javax.swing.plaf.InsetsUIResource
- All Implemented Interfaces:
- Serializable, Cloneable, UIResource
public class InsetsUIResource
- extends Insets
- implements Cloneable, UIResource, Serializable
An 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.
- See Also:
- Serialized Form
Constructor Summary |
InsetsUIResource(int top,
int left,
int bottom,
int right)
Constructs a new InsetsUIResource given the
inset at each edge. |
InsetsUIResource
public InsetsUIResource(int top,
int left,
int bottom,
int right)
- Constructs a new
InsetsUIResource
given the
inset at each edge.
- Parameters:
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.