javax.swing.plaf

Class InsetsUIResource

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.
Constructor Summary
InsetsUIResource(int top, int left, int bottom, int right)
Constructs a new InsetsUIResource given the inset at each edge.

Constructor Detail

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.