cz.cuni.amis.utils
Class Dimension2D_Double

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

public class Dimension2D_Double
extends Dimension2D
implements Serializable

WHY Dimension2D hasn't default Float and Double implementation?

Author:
Radim Vansa
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 Dimension2D

getWidth

public double getWidth()
Specified by:
getWidth in class Dimension2D

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in class Dimension2D


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.