com.extjs.gxt.ui.client.util
Class Point
java.lang.Object
com.extjs.gxt.ui.client.util.Point
public class Point
- extends java.lang.Object
Instances of this class represent places on the (x, y) coordinate plane.
- See Also:
Rectangle
Field Summary |
int |
x
The x coordinate of the point |
int |
y
The y coordinate of the point |
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)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
- The x coordinate of the point
y
public int y
- The y coordinate of the point
Point
public Point(int x,
int y)
- Constructs a new point with the given x and y coordinates.
- Parameters:
x
- the x coordinate of the new pointy
- the y coordinate of the new point
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object