|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uwcse.location.objects.PhysicalObject
A class to describe a named physical object.
| Field Summary | |
static String |
ANONYMOUS_NAME
|
protected String |
m_name
|
| Constructor Summary | |
PhysicalObject()
Create an anonymous physical object. |
|
PhysicalObject(String name)
Create a named physical object. |
|
| Method Summary | |
String |
getName()
Get the name of this physical object. |
Tracker |
newTracker(WorldMap map)
Factory method to create a new default tracker for this type of object. |
void |
setName(String name)
Set the name of this physical object. |
String |
toString()
String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String ANONYMOUS_NAME
protected String m_name
| Constructor Detail |
public PhysicalObject()
public PhysicalObject(String name)
| Method Detail |
public String getName()
public void setName(String name)
public String toString()
toString in class Objectpublic Tracker newTracker(WorldMap map)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||