|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.geom.Dimension2D
|
+--edu.umd.cs.jazz.util.ZDimension
Implemenation of Dimension2D that uses doubles.
| Constructor Summary | |
ZDimension()
ZDimension constructor comment. |
|
ZDimension(double width,
double height)
ZDimension constructor comment. |
|
| Method Summary | |
double |
getHeight()
Returns the height of this Dimension in double
precision. |
double |
getWidth()
Returns the width of this Dimension in double
precision. |
void |
setSize(double width,
double height)
Sets the size of this Dimension object to the
specified width and height. |
| Methods inherited from class java.awt.geom.Dimension2D |
clone, setSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ZDimension()
public ZDimension(double width,
double height)
| Method Detail |
public double getHeight()
Dimension in double
precision.
getHeight in class java.awt.geom.Dimension2DDimension.public double getWidth()
Dimension in double
precision.
getWidth in class java.awt.geom.Dimension2DDimension.
public void setSize(double width,
double height)
Dimension object to the
specified width and height.
This method is included for completeness, to parallel the
getSize method of
Component.
setSize in class java.awt.geom.Dimension2Dwidth - the new width for the Dimension
objectheight - the new height for the Dimension
object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||