org.universAAL.samples.lighting.uiclient
Class UIProvider

Package class diagram package UIProvider
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.lighting.uiclient.UIProvider

public class UIProvider
extends UICaller

Author:
cstockloew

Field Summary
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
protected UIProvider(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 uir)
          Handle UIResponse - that comes from UIHandler carrying user input.
 
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

UIProvider

protected UIProvider(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

handleUIResponse

public void handleUIResponse(UIResponse uir)
Description copied from class: UICaller
Handle UIResponse - that comes from UIHandler carrying user input.

Specified by:
handleUIResponse in class UICaller
Parameters:
uir - 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.