|
Java Statistical Classes | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.geom.Dimension2D
|
+--jsc.swt.virtualgraphics.VDimension
This class represents a dimension (width and height) in a virtual coordinate system.
| Field Summary | |
double |
height
Height of dimension. |
double |
width
Width of dimension. |
| Constructor Summary | |
VDimension(double width,
double height)
Creates a virtual dimension from given width and height. |
|
| Method Summary | |
double |
getHeight()
Returns the height of the dimension. |
double |
getWidth()
Returns the width of the dimension. |
VDimension |
multiply(double s)
Returns the result of multiplying this dimension by a scalar quantity. |
void |
setSize(double width,
double height)
Sets the size of the dimension to the given width and height. |
String |
toString()
|
| 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 double width
public double height
| Constructor Detail |
public VDimension(double width,
double height)
width - the virtual width.height - the virtual height.| Method Detail |
public double getHeight()
getHeight in class Dimension2Dpublic double getWidth()
getWidth in class Dimension2Dpublic VDimension multiply(double s)
s - the scalar quantity.
public void setSize(double width,
double height)
setSize in class Dimension2Dwidth - the virtual width.height - the virtual height.public String toString()
toString in class Object
|
Java Statistical Classes | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||