javax.swing.plaf
Class DimensionUIResource
java.lang.Object
java.awt.geom.Dimension2D
java.awt.Dimension
javax.swing.plaf.DimensionUIResource
- All Implemented Interfaces:
- Serializable, Cloneable, UIResource
public class DimensionUIResource
- extends Dimension
- implements UIResource
A Dimension that is marked as UIResource
, which
indicates that it has been installed by a pluggable
LookAndFeel. Such dimensions are replaced when the LookAndFeel
changes.
- See Also:
Dimension
,
Serialized Form
Constructor Summary |
DimensionUIResource(int width,
int height)
Constructs a new DimensionUIResource, given its width and height. |
DimensionUIResource
public DimensionUIResource(int width,
int height)
- Constructs a new DimensionUIResource, given its width and height.
- Parameters:
width
- the width in pixels.height
- the height in pixels.