public class UIPreferencesUICaller extends UICaller
UIRequest
containing the
Form
with UI Preferences and handles UIResponse
so that it
stores to the Profiling Server UI Preferences related information; it also
refreshes local buffer containing that data)busResourceURI, owner, theBus
Constructor and Description |
---|
UIPreferencesUICaller(ModuleContext mcontext,
IUIPreferencesBuffer uiPreferencesBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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.
|
protected void |
handleSubmit(UIResponse uiResponse)
Handle submit UI preferences data, and refresh Java JVM user.language
based on the one defined in the
UIPreferencesSubprofile |
void |
handleUIResponse(UIResponse uiResponse)
Handle
UIResponse - that comes from UIHandler carrying
user input. |
void |
showMessageScreen(User user,
String msg) |
void |
showUIPreferencesEditorScreen(User user)
Send
UIRequest with UI Preferences Editor dialog |
abortDialog, adaptationParametersChanged, busDyingOut, dialogSuspended, getMyID, handleReply, resumeDialog, sendUIRequest
getComment, getLabel, getType, getURI, setComment, setLabel
public UIPreferencesUICaller(ModuleContext mcontext, IUIPreferencesBuffer uiPreferencesBuffer)
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 handleUIResponse(UIResponse uiResponse)
UICaller
UIResponse
- that comes from UIHandler
carrying
user input.handleUIResponse
in class UICaller
uiResponse
- the UIResponse
protected void handleSubmit(UIResponse uiResponse)
UIPreferencesSubprofile
uiResponse
- user inputpublic void dialogAborted(String dialogID, Resource data)
UICaller
dialogAborted
in class UICaller
dialogID
- the dialog iddata
- the data collected up until abortion, it might be null if the
data could not be retrieved.Copyright © 2015 universAAL Consortium. All Rights Reserved.