|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Caller
org.universAAL.middleware.ui.UICaller
org.universAAL.support.utils.WrapperUI
public class WrapperUI
This class is for internal use by the utility API only. It is just a UI Caller that associates calls to its handleUIResponse method to an associated ICListener.
Field Summary |
---|
Fields inherited from class org.universAAL.middleware.bus.member.BusMember |
---|
busResourceURI, owner, theBus |
Constructor Summary | |
---|---|
protected |
WrapperUI(ModuleContext context)
Constructor. |
Method Summary | |
---|---|
void |
communicationChannelBroken()
Method to be called when the communication of the UICaller with
the IDialogManager is lost. |
void |
dialogAborted(String arg0,
Resource data)
Dialog aborted. |
void |
handleUIResponse(UIResponse r)
Handle UIResponse - that comes from UIHandler carrying
user input. |
void |
setListener(IUIListener listener)
Set the IUIListener. |
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 |
---|
protected WrapperUI(ModuleContext context)
context
- The uAAL Module Context.Method Detail |
---|
public void communicationChannelBroken()
UICaller
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).
communicationChannelBroken
in class UICaller
public void dialogAborted(String arg0, Resource data)
UICaller
dialogAborted
in class UICaller
arg0
- the dialog iddata
- the data collected up until abortion, it might be null if the data could not be retrieved.public void handleUIResponse(UIResponse r)
UICaller
UIResponse
- that comes from UIHandler
carrying
user input.
handleUIResponse
in class UICaller
r
- the UIResponse
public void setListener(IUIListener listener)
listener
- The IUIListener to associate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |