|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WPoint
public class WPoint
A value class that defines a 2D point with integer coordinates.
WPolygonArea| Constructor Summary | |
|---|---|
WPoint()
Creates a point (0, 0). |
|
WPoint(int x,
int y)
Creates a point (x, y). |
|
| Method Summary | |
|---|---|
boolean |
equals(WPoint other)
Indicates whether some other object is "equal to" this one. |
int |
getX()
Returns the X coordinate. |
int |
getY()
Returns the Y coordinate. |
void |
setX(int x)
Sets the X coordinate. |
void |
setY(int 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 WPoint()
public WPoint(int x,
int y)
| Method Detail |
|---|
public void setX(int x)
public void setY(int y)
public int getX()
public int getY()
public boolean equals(WPoint other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||