org.universAAL.samples.utils.app
Class UIExample

Package class diagram package UIExample
java.lang.Object
  extended by org.universAAL.middleware.bus.member.BusMember
      extended by org.universAAL.middleware.bus.member.Caller
          extended by org.universAAL.middleware.ui.UICaller
              extended by org.universAAL.support.utils.ui.mid.UtilUICaller
                  extended by org.universAAL.samples.utils.app.UIExample

public class UIExample
extends UtilUICaller


Field Summary
 
Fields inherited from class org.universAAL.support.utils.ui.mid.UtilUICaller
UAAL_CONF_ROOT_DIR
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
protected UIExample(ModuleContext context, String namespace, String url, String desc)
           
 
Method Summary
 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()
           
 
Methods inherited from class org.universAAL.support.utils.ui.mid.UtilUICaller
close, communicationChannelBroken
 
Methods inherited from class org.universAAL.middleware.ui.UICaller
abortDialog, adaptationParametersChanged, busDyingOut, dialogSuspended, getMyID, handleReply, resumeDialog, sendUIRequest
 
Methods inherited from class org.universAAL.middleware.bus.member.BusMember
getType, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIExample

protected UIExample(ModuleContext context,
                    String namespace,
                    String url,
                    String desc)
Method Detail

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()

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 id
data - the data collected up until abortion, it might be null if the data could not be retrieved.


Copyright © 2014 universAAL Consortium. All Rights Reserved.