|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.ui.Size2D
A simple class for representing the dimensions of an object. I would use Dimension2D, but refer to Bug ID 4189446 on the Java Developer Connection for why not (last checked 20 July 2000, maybe it's been fixed now).
Field Summary | |
double |
height
The height. |
double |
width
The width. |
Constructor Summary | |
Size2D(double width,
double height)
Standard constructor - builds a Size2D with the specified width and height. |
Method Summary | |
double |
getHeight()
Returns the height. |
double |
getWidth()
Returns the width. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double width
public double height
Constructor Detail |
public Size2D(double width, double height)
width
- the width.height
- the height.Method Detail |
public double getHeight()
public double getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |