|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Locatable
The interface to objects with a source location.
| Method Summary | |
|---|---|
Location |
getLocation()
Get this object's location. |
boolean |
hasLocation()
Determine whether this object has a location. |
void |
setLocation(Locatable locatable)
Set this object's location to the specified locatable's location. |
void |
setLocation(Location location)
Set this object's location. |
| Method Detail |
|---|
boolean hasLocation()
true if this object has a location.Location getLocation()
null if it does
not have a location.void setLocation(Location location)
location - This object's location.void setLocation(Locatable locatable)
locatable - The locatable object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||