|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface that must implement all objects that want to be located.
| Method Summary | |
java.awt.Point |
getLocation()
Returns the location of the instance. |
int |
getX()
Returns the x-location of the instance. |
int |
getY()
Returns the y-location of the instance. |
void |
setLocation(int x,
int y)
Sets the location of the instance. |
void |
setLocation(java.awt.Point location)
Sets the location of the instance. |
void |
setX(int x)
Sets the x-location of the instance. |
void |
setY(int y)
Sets the y-location of the instance. |
| Method Detail |
public void setX(int x)
x - the x-location of the instance.public int getX()
public void setY(int y)
y - the y-location of the instance.public int getY()
public void setLocation(int x,
int y)
x - the x-location of the instance.y - the y-location of the instance.public void setLocation(java.awt.Point location)
location - the location of the instance.public java.awt.Point getLocation()
Point representing the location of the instance.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||