|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.devsphere.mapping.PointBean
Bean that groups the (X, Y) coordinates of 2D points.
| Constructor Summary | |
PointBean()
Creates a point bean. |
|
PointBean(int x,
int y)
Creates a point bean. |
|
| Method Summary | |
int |
getX()
Gets the X coordinate. |
int |
getY()
Gets the Y coordinate. |
void |
setX(int x)
Sets the X coordinate. |
void |
setY(int y)
Sets the Y coordinate. |
java.lang.String |
toString()
Returns a string representation of this point containing its coordinates. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PointBean()
public PointBean(int x,
int y)
x - the X coordinate.y - the Y coordinate.| Method Detail |
public void setX(int x)
x - the X coordinate.public int getX()
public void setY(int y)
y - the Y coordinate.public int getY()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||