API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.geom. Dimension2D View Source
Author(s)
Jim Graham
Since
1.2
Version
1.15, 02/24/06
Serial
Hierarchy
 Object
      Dimension2D
Implements
 Cloneable
Subclasses
Description
publicabstract abstract class Dimension2D
  The Dimension2D class is to encapsulate a width and a height dimension.
See also:   
Constructors
protected Dimension2D ()
  This is an abstract class that cannot be instantiated directly.
Methods
Hide/Show inherited methods
public Object clone ()
  Creates a new object of the same class as this object.
publicabstract double getHeight ()
  Returns the height of this Dimension in double precision.
publicabstract double getWidth ()
  Returns the width of this Dimension in double precision.
public void setSize (Dimension2D d)
  Sets the size of this Dimension2D object to match the specified size.
publicabstract void setSize (double width, double height)
  Sets the size of this Dimension object to the specified width and height.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar