| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcontext.arch.BaseObject
context.arch.widget.Widget
edu.berkeley.io.context.museum.VisitorDisplayWidget
Location value is 'logical' location, i.e. which painting you're near. Like the number code visitors use in mobile museum tour guides today.
| Field Summary | |
static java.lang.String | 
CONTENT_ID
 | 
static java.lang.String | 
NONE
 | 
static java.lang.String | 
SET_CONTENT_ID
 | 
static java.lang.String | 
VISITOR_DISPLAY_SERVICE
 | 
| 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 | |
VisitorDisplayWidget(java.lang.String userId,
                     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 | 
setContentId(java.lang.String newContentId)
Sets the content id for the device; presumably the device will then retrieve content to display based on the id.  | 
 void | 
setLocation(java.lang.String newLocationName)
 | 
 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 NONE
public static final java.lang.String CONTENT_ID
public static final java.lang.String VISITOR_DISPLAY_SERVICE
public static final java.lang.String SET_CONTENT_ID
| Constructor Detail | 
public VisitorDisplayWidget(java.lang.String userId,
                            int port,
                            boolean storageFlag)
| Method Detail | 
public void setContentId(java.lang.String newContentId)
newContentId - public void setLocation(java.lang.String newLocationName)
public void update()
protected Attributes initAttributes()
Widget
initAttributes in class Widgetprotected Callbacks initCallbacks()
Widget
initCallbacks in class Widgetprotected Attributes initConstantAttributes()
Widget
initConstantAttributes in class Widgetprotected Services initServices()
Widget
initServices in class Widgetprotected Attributes queryGenerator()
Widget
queryGenerator in class Widget
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||