javax.swing.plaf
Class DimensionUIResource

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by java.awt.Dimension
          extended by 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

Field Summary
 
Fields inherited from class java.awt.Dimension
height, width
 
Constructor Summary
DimensionUIResource(int width, int height)
          Constructs a new DimensionUIResource, given its width and height.
 
Method Summary
 
Methods inherited from class java.awt.Dimension
equals, getHeight, getSize, getWidth, hashCode, setSize, setSize, setSize, toString
 
Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.