public class UIExample extends UtilUICaller
CONF_ROOT_DIR
busResourceURI, owner, theBus
Modifier | Constructor and Description |
---|---|
protected |
UIExample(ModuleContext context,
String namespace,
String url,
String desc) |
Modifier and Type | Method and Description |
---|---|
void |
dialogAborted(String dialogID,
Resource data)
Dialog aborted.
|
void |
executeStartUI(Resource user)
This method is called whenever the user selects your application submit
from the Main Menu.
|
void |
handleUIResponse(UIResponse input)
Handle
UIResponse - that comes from UIHandler carrying
user input. |
void |
showMessage(String light,
String loc,
Integer integer) |
close, communicationChannelBroken
abortDialog, adaptationParametersChanged, busDyingOut, dialogSuspended, getMyID, handleReply, resumeDialog, sendUIRequest
getComment, getLabel, getType, getURI, setComment, setLabel
protected UIExample(ModuleContext context, String namespace, String url, String desc)
public void executeStartUI(Resource user)
UtilUICaller
executeStartUI
in class UtilUICaller
user
- The User which initiated the interaction. May be an instance
of User, AssistedPerson or Caregiver.public void handleUIResponse(UIResponse input)
UICaller
UIResponse
- that comes from UIHandler
carrying
user input.handleUIResponse
in class UICaller
input
- the UIResponse
public void dialogAborted(String dialogID, Resource data)
UICaller
dialogAborted
in class UICaller
dialogID
- the dialog iddata
- the data collected up until abortion, it might be null if the
data could not be retrieved.Copyright © 2018 universAAL Consortium. All rights reserved.