All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----att.grappa.DoubleDimension
java.awt.Dimension
using doubles instead of ints.
DoubleDimension
with a width
of zero and a height of zero.
DoubleDimension
whose width
and height are the same as for the specified dimension.
DoubleDimension
and initializes it to the specified width and
specified height.
DoubleDimension
whose width
and height are the same as for the specified dimension.
DoubleDimension
to a standard (integer) Dimension
DoubleDimension
object
to the specified width and height.
DoubleDimension
object's values.
public double width
public double height
public DoubleDimension()
DoubleDimension
with a width
of zero and a height of zero.
public DoubleDimension(DoubleDimension d)
DoubleDimension
whose width
and height are the same as for the specified dimension.
width
and
height
values.
public DoubleDimension(Dimension d)
DoubleDimension
whose width
and height are the same as for the specified dimension.
width
and
height
values.
public DoubleDimension(double width, double height)
DoubleDimension
and initializes it to the specified width and
specified height.
public void setSize(DoubleDimension d)
DoubleDimension
object.
public void setSize(double width, double height)
DoubleDimension
object
to the specified width and height.
public Dimension getApproximation()
DoubleDimension
to a standard (integer) Dimension
DoubleDimension
rounded to the nearest Dimension
public int hashCode()
public boolean equals(Object obj)
DoubleDimension
are equal
if the values of their width
and height
member fields are the same.
public String toString()
DoubleDimension
object's values.
width
and height
.
All Packages Class Hierarchy This Package Previous Next Index