view
Class DoubleDimension

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by view.DoubleDimension
All Implemented Interfaces:
Cloneable

public class DoubleDimension
extends Dimension2D

A class that allows storing of a dimension in double format.


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

double width

height

double height
Constructor Detail

DoubleDimension

public DoubleDimension(double w,
                       double h)
Method Detail

setSize

public void setSize(double w,
                    double h)
Specified by:
setSize in class Dimension2D

getHeight

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

getWidth

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