org.universAAL.samples.utils.client
Class UIExample
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Caller
org.universAAL.middleware.ui.UICaller
org.universAAL.support.utils.ui.mid.UtilUICaller
org.universAAL.samples.utils.client.UIExample
public class UIExample
- extends UtilUICaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIExample
protected UIExample(ModuleContext context,
String namespace,
String url,
String desc)
executeStartUI
public void executeStartUI(Resource user)
- Description copied from class:
UtilUICaller
- This method is called whenever the user selects your application submit
from the Main Menu. You should initiate the interaction with the user
here by publishing some kind of Dialog.
- Specified by:
executeStartUI
in class UtilUICaller
- Parameters:
user
- The User which initiated the interaction. May be an instance
of User, AssistedPerson or Caregiver.
showMessage
public void showMessage(String light,
String loc,
Integer integer)
handleUIResponse
public void handleUIResponse(UIResponse input)
- Description copied from class:
UICaller
- Handle
UIResponse
- that comes from UIHandler
carrying
user input.
- Specified by:
handleUIResponse
in class UICaller
- Parameters:
input
- the UIResponse
dialogAborted
public void dialogAborted(String dialogID,
Resource data)
- Description copied from class:
UICaller
- Dialog aborted.
- Specified by:
dialogAborted
in class UICaller
- Parameters:
dialogID
- the dialog iddata
- the data collected up until abortion, it might be null if the data could not be retrieved.
Copyright © 2014 universAAL Consortium. All Rights Reserved.