|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locatable
Interface for objects that can have their location set and queried.
Method Summary | |
---|---|
java.awt.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(java.awt.Point p)
Set object's location to given point. |
Method Detail |
---|
void setLocation(int x, int y)
void setLocation(java.awt.Point p)
java.awt.Point getLocation()
int getXLocation()
int getYLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |