|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.BaseObject context.arch.widget.Widget edu.berkeley.io.context.home.ObjectPresenceWidget
Field Summary | |
static java.lang.String |
OBJECT_ID
|
static java.lang.String |
OBJECT_TYPE
|
static java.lang.String |
TYPE_PERSON
|
Fields inherited from class context.arch.BaseObject |
BASEOBJECT_TYPE, communications, DISABLE_PORT, discoverer, EXIT_OK, gFrame, handlers, ID, parser, PING, PING_REPLY, QUERY_DESCRIPTION, QUERY_DESCRIPTION_REPLY, serviceHandlers |
Constructor Summary | |
ObjectPresenceWidget(java.lang.String objectId,
java.lang.String objectType,
int port,
boolean storageFlag)
|
Method Summary | |
protected Attributes |
initAttributes()
Sets the attributes for the widget |
protected Callbacks |
initCallbacks()
Sets the callbacks for the widget |
protected Attributes |
initConstantAttributes()
Sets the constant attributes for the widget |
protected Services |
initServices()
Sets the services for the widget |
protected Attributes |
queryGenerator()
This abstract method is called when the widget wants to get the latest generator info. |
void |
setLocation(java.lang.String newLocationName)
Sets the content id for the device; presumably the device will then retrieve content to display based on the id. |
void |
update()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String OBJECT_ID
public static final java.lang.String OBJECT_TYPE
public static final java.lang.String TYPE_PERSON
Constructor Detail |
public ObjectPresenceWidget(java.lang.String objectId, java.lang.String objectType, int port, boolean storageFlag)
Method Detail |
public void setLocation(java.lang.String newLocationName)
public void update()
protected Attributes initAttributes()
Widget
initAttributes
in class Widget
protected Callbacks initCallbacks()
Widget
initCallbacks
in class Widget
protected Attributes initConstantAttributes()
Widget
initConstantAttributes
in class Widget
protected Services initServices()
Widget
initServices
in class Widget
protected Attributes queryGenerator()
Widget
queryGenerator
in class Widget
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |