org.universAAL.samples.simple.ui
Class SimpleUI

Package class diagram package SimpleUI
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.samples.simple.ui.SimpleUI

public class SimpleUI
extends UICaller


Field Summary
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
protected SimpleUI(ModuleContext context)
           
 
Method Summary
 void communicationChannelBroken()
          Method to be called when the communication of the UICaller with the IDialogManager is lost.
 void dialogAborted(String dialogID, Resource data)
          Dialog aborted.
 void handleUIResponse(UIResponse input)
          Handle UIResponse - that comes from UIHandler carrying user input.
 void showDialog(Resource inputUser)
           
 
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
close, getType, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUI

protected SimpleUI(ModuleContext context)
Method Detail

communicationChannelBroken

public void communicationChannelBroken()
Description copied from class: UICaller
Method to be called when the communication of the UICaller with the IDialogManager is lost. Any pending request might be resend at this point. All affected pending dialogs will be aborted right after this call (with null data).

Specified by:
communicationChannelBroken in class UICaller

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.

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

showDialog

public void showDialog(Resource inputUser)


Copyright © 2014 universAAL Consortium. All Rights Reserved.