public final class Handler extends UIHandler
Handler is responsible of
interfacing with universAAL, it will handle the UICalls by delegating to the
HTMLUserGenerator, and it will also provide a method to submit the
user input.UIHandler,
HTMLUserGeneratorbusResourceURI, owner, theBus| Modifier | Constructor and Description |
|---|---|
protected |
Handler(ModuleContext context,
UIHandlerProfile initialSubscription)
internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adaptationParametersChanged(String dialogID,
String changedProp,
Object newVal) |
void |
communicationChannelBroken() |
Resource |
cutDialog(String dialogID) |
User |
getCurrentUser()
Get the current user that is inputing information.
|
void |
handleUICall(UIRequest req)
Handle
UIRequest. |
void |
submit(Submit submit)
Shortcut to send
UIResponse related to Submit Buttons. |
addNewRegParams, busDyingOut, dialogFinished, getMyID, getRealizedHandlerProfiles, handleRequest, removeMatchingRegParams, userLoggedInclose, getComment, getLabel, getType, getURI, setComment, setLabelprotected Handler(ModuleContext context, UIHandlerProfile initialSubscription)
context - the ModuleContext to be able to implement an
UIHandlerinitialSubscription - The Subscription parameters that dictate to which
UIRequests the handler responds to see UIHandlerpublic void adaptationParametersChanged(String dialogID, String changedProp, Object newVal)
adaptationParametersChanged in class UIHandlerdialogID - the dialog idchangedProp - the changed propnewVal - the new valpublic void communicationChannelBroken()
communicationChannelBroken in class UIHandlerpublic void handleUICall(UIRequest req)
UIRequest. this callback method will trigger the rendering
process for the UIRequest. It will also extract important
information, so the handler can adapt to the user's circumstances.handleUICall in class UIHandlerreq - the UIRequestpublic User getCurrentUser()
public void submit(Submit submit)
UIResponse related to Submit Buttons.submit - the Submit button model pressed.Copyright © 2018 universAAL Consortium. All rights reserved.