|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dsto.dfc.databeans.AbstractDataObject dsto.dfc.databeans.SimpleDataObject dsto.dfc.databeans.FancyDataObject livespace.services.Entity livespace.services.entities.room_presentation.RoomPresentation
public class RoomPresentation
The root Entity used to store entity visual representation properties
Field Summary | |
---|---|
static String |
ENTITY_TYPE
|
Color |
linkColour
link colour |
RoomSchematicEntity |
roomSchematicEntity
A reference to the Entity storing the SchematicItems entities |
DataBean |
schematicDimension
Bounding rectangle within which items may be placed |
Color |
textColour
Foreground colour |
Fields inherited from class livespace.services.Entity |
---|
container, id, lastTouched, name, unconfirmedUpdates |
Fields inherited from class dsto.dfc.databeans.AbstractDataObject |
---|
listeners |
Fields inherited from interface dsto.dfc.databeans.IDataObject |
---|
OVERRIDE, PERSISTENT, PERSISTENT_OVERRIDE, TRANSIENT, TRANSIENT_OVERRIDE |
Constructor Summary | |
---|---|
RoomPresentation()
Default constructor |
Method Summary | |
---|---|
void |
addSchematicListener(PropertyListener listener)
Add a listener for changes to the container holding SchamticItem instance |
SchematicItem |
createSchematicItem(Entity entity)
Creates a SchematicItem instance, adds it to the RoomSchematicEntity instance |
SchematicItem |
createSchematicItem(Entity entity,
Point location)
Creates a SchematicItem instance, adds it to the RoomSchematicEntity instance |
SchematicItem |
findSchematicItem(String entityId)
Finds a SchematicItem instance based on the id of the represented entity |
EntityRegistry |
getSchematicItems()
Returns the list of SchematicItem instances representing entities within the livespace |
String |
getType()
Returns the type of this entity |
Methods inherited from class livespace.services.Entity |
---|
create, createId, getElvin, getType, getTypeInfo, mutex, sameEntity, shallowClone, waitForProperty, waitForProperty, waitForProperty, waitForProperty |
Methods inherited from class dsto.dfc.databeans.FancyDataObject |
---|
childPropertyChanged, getValue, isTransient, propertyIterator, setValue |
Methods inherited from class dsto.dfc.databeans.SimpleDataObject |
---|
getFieldNames, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String ENTITY_TYPE
public Color textColour
public Color linkColour
public DataBean schematicDimension
public RoomSchematicEntity roomSchematicEntity
Constructor Detail |
---|
public RoomPresentation()
Method Detail |
---|
public void addSchematicListener(PropertyListener listener)
listener
- public String getType()
getType
in class Entity
public EntityRegistry getSchematicItems()
public SchematicItem findSchematicItem(String entityId)
entityId
- public SchematicItem createSchematicItem(Entity entity)
entity
-
public SchematicItem createSchematicItem(Entity entity, Point location)
entity
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |