public interface Locatable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2012. All Rights Reserved.