|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.data.LookData
public class LookData
A class holding all the information required across all activities
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllProperties(int id)
|
DataHandler |
getDataHandler()
|
LookFilesManager |
getFilesManager()
|
int |
getId()
|
static LookData |
getInstance()
|
Point3 |
getLocation()
Returns the current location |
java.lang.String |
getPropertyValue(int id,
java.lang.String propertyName)
|
ServiceManager |
getServiceManager()
|
World |
getWorld()
|
void |
setDataHandler(DataHandler dataHandler)
|
void |
setDistance(float distance)
Sets the maximum distance for an element to be added into the world |
void |
setId(int id)
|
void |
setServiceManager(ServiceManager servicemanager)
|
void |
setWorld(World w)
|
void |
setWorldEntityFactory(WorldEntityFactory factory)
|
void |
startLocation(int time,
boolean inertial,
boolean wifi)
Starts the location provider |
void |
stopLocation()
Stops location |
void |
updateData()
Updates the data for the world |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> getAllProperties(int id)
public DataHandler getDataHandler()
public LookFilesManager getFilesManager()
public int getId()
public static LookData getInstance()
public Point3 getLocation()
public java.lang.String getPropertyValue(int id, java.lang.String propertyName)
public ServiceManager getServiceManager()
public World getWorld()
public void setDataHandler(DataHandler dataHandler)
public void setDistance(float distance)
distance
- the distancepublic void setId(int id)
public void setServiceManager(ServiceManager servicemanager)
public void setWorld(World w)
public void setWorldEntityFactory(WorldEntityFactory factory)
public void startLocation(int time, boolean inertial, boolean wifi)
time
- time between updatsinertial
- if the inertial system must be usedwifi
- if the wifi system must be usedpublic void stopLocation()
public void updateData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |