|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WPointF
public class WPointF
A value class that defines a 2D point.
| Constructor Summary | |
|---|---|
WPointF()
Creates point (0, 0). |
|
WPointF(Coordinates other)
Creates a point from mouse coordinates. |
|
WPointF(double x,
double y)
Creates a point (x, y). |
|
WPointF(WPointF other)
Copy constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(WPointF other)
Indicates whether some other object is "equal to" this one. |
double |
getX()
Returns the X coordinate. |
double |
getY()
Returns the Y coordinate. |
void |
setX(double x)
Sets the X coordinate. |
void |
setY(double y)
Sets the Y coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WPointF()
public WPointF(double x,
double y)
public WPointF(WPointF other)
public WPointF(Coordinates other)
| Method Detail |
|---|
public void setX(double x)
public void setY(double y)
public double getX()
public double getY()
public boolean equals(WPointF other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||