API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. DimensionUIResource View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Dimension2D
          Dimension
              DimensionUIResource
Implements
 UIResource
Subclasses
Description
public class DimensionUIResource
See also:   
Constructors
public DimensionUIResource (int width, int height)
Methods
Hide/Show inherited methods
public Object clone () [Inherited From Dimension2D]
  Creates a new object of the same class as this object.
public boolean equals (Object obj) [Inherited From Dimension]
Checks whether two dimension objects have equal values.
public double getHeight () [Inherited From Dimension] [Specified in Dimension2D]
  Returns the height of this Dimension in double precision.
public Dimension getSize () [Inherited From Dimension]
  Gets the size of this Dimension object.
public double getWidth () [Inherited From Dimension] [Specified in Dimension2D]
  Returns the width of this Dimension in double precision.
public int hashCode () [Inherited From Dimension]
  Returns the hash code for this Dimension.
public void setSize (Dimension d) [Inherited From Dimension]
  Sets the size of this Dimension object to the specified size.
public void setSize (Dimension2D d) [Inherited From Dimension2D]
  Sets the size of this Dimension2D object to match the specified size.
public void setSize (double width, double height) [Inherited From Dimension] [Specified in Dimension2D]
  Sets the size of this Dimension object to the specified width and height in double precision.
public void setSize (int width, int height) [Inherited From Dimension]
  Sets the size of this Dimension object to the specified width and height.
public String toString () [Inherited From Dimension]
  Returns a string representation of the values of this Dimension object's height and width fields.
Fields
Hide/Show inherited fields
public int height [Inherited From Dimension]
  The height dimension; negative values can be used.
public int width [Inherited From Dimension]
  The width dimension; negative values can be used.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar