|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.virtuosotechnologies.lib.swing.Size2D com.virtuosotechnologies.lib.swing.Size2D.Double
Double implementation of Size2D
Nested Class Summary |
Nested classes inherited from class com.virtuosotechnologies.lib.swing.Size2D |
Size2D.Double, Size2D.Float, Size2D.Int, Size2D.Long |
Constructor Summary | |
Size2D.Double()
Constructor. |
|
Size2D.Double(double width,
double height)
Constructor |
|
Size2D.Double(Size2D orig)
Constructor that takes a Size2D |
Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
double |
getHeightD()
Returns the height in double precision. |
float |
getHeightF()
Returns the height in single precision. |
int |
getHeightI()
Returns the height as an int. |
long |
getHeightL()
Returns the height as a long. |
double |
getWidthD()
Returns the width in double precision. |
float |
getWidthF()
Returns the width in single precision. |
int |
getWidthI()
Returns the width as an int. |
long |
getWidthL()
Returns the width as a long. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Size2D.Double(double width, double height)
width
- widthheight
- heightpublic Size2D.Double()
public Size2D.Double(Size2D orig)
orig
- original objectMethod Detail |
public double getWidthD()
Size2D
getWidthD
in class Size2D
public double getHeightD()
Size2D
getHeightD
in class Size2D
public float getWidthF()
Size2D
getWidthF
in class Size2D
public float getHeightF()
Size2D
getHeightF
in class Size2D
public int getWidthI()
Size2D
getWidthI
in class Size2D
public int getHeightI()
Size2D
getHeightI
in class Size2D
public long getWidthL()
Size2D
getWidthL
in class Size2D
public long getHeightL()
Size2D
getHeightL
in class Size2D
public Object clone()
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |