public interface FormManager
Modifier and Type | Method and Description |
---|---|
void |
adaptationParametersChanged(String dialogID,
String changedProp,
Object newVal)
Callback for when the bus instructs some parameters have changed.
|
void |
addDialog(UIRequest oe)
Callback for incoming dialogs.
|
void |
closeCurrentDialog()
close the current dialog.
|
Resource |
cutDialog(String dialogID)
Callback for
Handler#cutDialog(String) . |
void |
flush()
to be called when the handler finishes.
|
Collection |
getAllDialogs()
Consult all the added dialogs that are not closed yet.
|
UIRequest |
getCurrentDialog()
get the Dialog Being currently displayed.
|
Form |
getParentOf(String formURI)
get the parent
Form of a given formURI. |
void |
missingInput(Input input)
This method is called when a Submit has detected there is a missing input
it needs, therefore the model for that input should be notified (so the
user knows).
|
void |
setRenderer(HTMLUserGenerator renderer)
Associate a
HTMLUserGenerator to the FormManager . |
void addDialog(UIRequest oe)
Form
.oe
- UIRequest
that includes the dialog to showUIRequest getCurrentDialog()
UIRequest
currently being displayedvoid closeCurrentDialog()
Resource cutDialog(String dialogID)
Handler#cutDialog(String)
.dialogID
- DialogURI to cutvoid flush()
void setRenderer(HTMLUserGenerator renderer)
HTMLUserGenerator
to the FormManager
.renderer
- the HTMLUserGenerator
to associate withCollection getAllDialogs()
UIRequest
svoid missingInput(Input input)
input
- Copyright © 2018 universAAL Consortium. All rights reserved.