cz.cuni.amis.utils
Class Dimension2D_Double

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by cz.cuni.amis.utils.Dimension2D_Double
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Dimension2D_Double
extends java.awt.geom.Dimension2D
implements java.io.Serializable

WHY Dimension2D hasn't default Float and Double implementation?

See Also:
Serialized Form

Field Summary
protected  double height
           
protected  double width
           
 
Constructor Summary
Dimension2D_Double()
           
Dimension2D_Double(double w, double h)
           
 
Method Summary
 double getHeight()
           
 double getWidth()
           
 void setSize(double width, double 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
 

Field Detail

width

protected double width

height

protected double height
Constructor Detail

Dimension2D_Double

public Dimension2D_Double()

Dimension2D_Double

public Dimension2D_Double(double w,
                          double h)
Method Detail

getHeight

public double getHeight()
Specified by:
getHeight in class java.awt.geom.Dimension2D

getWidth

public double getWidth()
Specified by:
getWidth in class java.awt.geom.Dimension2D

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in class java.awt.geom.Dimension2D