|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for objects that can have their location set and queried.
| Method Summary | |
Point |
getLocation()
Returns the object's location. |
int |
getXLocation()
Returns the object's x location. |
int |
getYLocation()
Returns the object's y location. |
void |
setLocation(int x,
int y)
Set object's location to given coordinates. |
void |
setLocation(Point p)
Set object's location to given point. |
| Method Detail |
public void setLocation(int x,
int y)
public void setLocation(Point p)
public Point getLocation()
public int getXLocation()
public int getYLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||