| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.geom.Dimension2D
org.geotools.resources.geometry.XDimension2D.Float
Implement float version of Dimension2D. This class is
 temporary;  it will disappear if JavaSoft implements
  and .
| Field Summary | |
|  float | heightThe height. | 
|  float | widthThe width. | 
| Constructor Summary | |
| XDimension2D.Float()Construct a new dimension initialized to (0,0). | |
| XDimension2D.Float(float w,
                   float h)Construct a new dimension with the specified values. | |
| Method Summary | |
|  double | getHeight()Returns the height. | 
|  double | getWidth()Returns the width. | 
|  void | setSize(double w,
        double h)Set width and height for this dimension. | 
|  java.lang.String | toString()Returns a string representation of this dimension. | 
| Methods inherited from class java.awt.geom.Dimension2D | 
| clone, setSize | 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public float width
public float height
| Constructor Detail | 
public XDimension2D.Float()
public XDimension2D.Float(float w,
                          float h)
w - The width.h - The height.| Method Detail | 
public void setSize(double w,
                    double h)
w - The width.h - The height.public double getWidth()
public double getHeight()
public java.lang.String toString()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||