APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.plaf

public Class InsetsUIResource

extends Insets
implements UIResource
Class Inheritance
All Implemented Interfaces
javax.swing.plaf.UIResource
Annotations
@SuppressWarnings:serial
Imports
java.awt.Insets, javax.swing.plaf.UIResource

A subclass of Insets that implements UIResource. UI classes that use Insets values for default properties should use this class.

Warning

Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see java.beans.XMLEncoder.

Author
Amy Fowler
See Also
javax.swing.plaf.UIResource

Field Summary

Inherited from java.awt.Insets:
bottomleftrighttop

Constructor Summary

AccessConstructor and Description
public
InsetsUIResource(int
the inset from the top
top
,
int
the inset from the left
left
,
int
the inset from the bottom
bottom
,
int
the inset from the right
right
)

Constructs an InsetsUIResource.

Method Summary

Inherited from java.awt.Insets:
cloneequalshashCodesettoString

Constructor Detail

InsetsUIResourceback to summary
public InsetsUIResource(int top, int left, int bottom, int right)

Constructs an InsetsUIResource.

Parameters
top:int

the inset from the top

left:int

the inset from the left

bottom:int

the inset from the bottom

right:int

the inset from the right