livespace.services.entities
Class DisplayEntity

java.lang.Object
  extended by dsto.dfc.databeans.AbstractDataObject
      extended by dsto.dfc.databeans.SimpleDataObject
          extended by dsto.dfc.databeans.FancyDataObject
              extended by livespace.services.Entity
                  extended by livespace.services.entities.DisplayEntity
All Implemented Interfaces:
IDataObject, IDataObjectChildListener, Cloneable

public class DisplayEntity
extends Entity

Represents a display (a screen such as monitor or projector) within a room.

Author:
Steven Johnson Created on 10/01/2005
See Also:
SpeakerEntity

Field Summary
static String ANALOG_SOURCE
          The value of videoInputType property for analog source (i.e.
static String COMPONENT_SOURCE
          The value of videoInputType property for component source
static String COMPOSITE_SOURCE
          The value of videoInputType property for composite source
static String DIGITAL_SOURCE
          The value videoInputType property for digital source (i.e.
static String ENTITY_TYPE
           
static String SVIDEO_SOURCE
          The value of videoInputType property for s-video source
static String SWITCH_OUTPUT_PORT
          When a display is connected to a video switch, this property indicates the output port it's currently plugged into.
static String VIDEO_INPUT_TYPE_PROPERTY
          Video input type property for a display.
static String VIDEO_SOURCE_PROPERTY
          Video source property for a display
 String videoSourceId
          The ID of the video source currently being displayed on this display.
 
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
DisplayEntity()
           
DisplayEntity(String id)
           
DisplayEntity(String id, String name)
           
 
Method Summary
 String getType()
          The type of the object (eg "room", "light", "volume", etc).
 
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 dsto.dfc.databeans.AbstractDataObject
addFirstPropertyListener, addPropertyListener, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, getBeanValue, getBooleanValue, getBooleanValue, getCharValue, getCharValue, getDoubleValue, getDoubleValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getObjectValue, getPropertyListeners, getShortValue, getStringValue, registerValue, removePropertyListener, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, unregisterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_TYPE

public static final String ENTITY_TYPE
See Also:
Constant Field Values

SWITCH_OUTPUT_PORT

public static final String SWITCH_OUTPUT_PORT
When a display is connected to a video switch, this property indicates the output port it's currently plugged into.

See Also:
VideoSourceEntity.VIDEO_SWITCH_PORT, Constant Field Values

VIDEO_SOURCE_PROPERTY

public static final String VIDEO_SOURCE_PROPERTY
Video source property for a display

See Also:
Constant Field Values

VIDEO_INPUT_TYPE_PROPERTY

public static final String VIDEO_INPUT_TYPE_PROPERTY
Video input type property for a display. Specifies the video input used by the display (i.e. digital, component, s-video etc).

See Also:
Constant Field Values

ANALOG_SOURCE

public static final String ANALOG_SOURCE
The value of videoInputType property for analog source (i.e. VGA)

See Also:
Constant Field Values

DIGITAL_SOURCE

public static final String DIGITAL_SOURCE
The value videoInputType property for digital source (i.e. DVI)

See Also:
Constant Field Values

COMPONENT_SOURCE

public static final String COMPONENT_SOURCE
The value of videoInputType property for component source

See Also:
Constant Field Values

SVIDEO_SOURCE

public static final String SVIDEO_SOURCE
The value of videoInputType property for s-video source

See Also:
Constant Field Values

COMPOSITE_SOURCE

public static final String COMPOSITE_SOURCE
The value of videoInputType property for composite source

See Also:
Constant Field Values

videoSourceId

public String videoSourceId
The ID of the video source currently being displayed on this display.

See Also:
VideoSourceEntity
Constructor Detail

DisplayEntity

public DisplayEntity()

DisplayEntity

public DisplayEntity(String id)

DisplayEntity

public DisplayEntity(String id,
                     String name)
Method Detail

getType

public String getType()
Description copied from class: Entity
The type of the object (eg "room", "light", "volume", etc). This must be unique to the entity class.

NOTE: it is also a good practice to provide a static field that defines the entity type on the class: eg

 public static final String ENTITY_TYPE = "room";
 

Specified by:
getType in class Entity


Copyright © 2008 Commonwealth of Australia