|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.core.client.util.Point
public class Point
Instances of this class represent places on the (x, y) coordinate plane.
Rectangle| Constructor Summary | |
|---|---|
Point(int x,
int y)
Constructs a new point with the given x and y coordinates. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getX()
Returns the x coordinate of the point. |
int |
getY()
Returns the y coordinate of the point. |
int |
hashCode()
|
void |
setX(int x)
Sets the x-coordinate. |
void |
setY(int y)
Sets the y-coordinate |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point(int x,
int y)
x - the x coordinate of the new pointy - the y coordinate of the new point| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getX()
public int getY()
public void setX(int x)
x - the x-coordinatepublic void setY(int y)
y - the y-coordinatepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||