javax.swing.plaf

Class DimensionUIResource

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:

Constructor Summary
DimensionUIResource(int width, int height)
Constructs a new DimensionUIResource, given its width and height.

Constructor Detail

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.