
public final class Handler extends UIHandler
busResourceURI, 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 |
setCurrentUser(User currentUser)
Change the current
User. |
void |
submit(Submit submit)
Shortcut to send
UIResponse related to Submit Buttons. |
void |
unSetCurrentUser()
The current User has logged off, re adapt handler to this situation.
|
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 setCurrentUser(User currentUser)
currentUser - the user to be the current user.public void unSetCurrentUser()
public void submit(Submit submit)
UIResponse related to Submit Buttons.submit - the Submit button model pressed.Copyright © 2018 universAAL Consortium. All rights reserved.