|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.ui.handler.gui.swing.formManagement.HierarchicalFormManager
public class HierarchicalFormManager
Hierarchical management of dialogs. This Manager will enable the access to parent dialogs in order to offer the possibility of displaying elements of a subdialog's parent, such as it's submits.
Constructor Summary | |
---|---|
HierarchicalFormManager()
|
Method Summary | |
---|---|
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) . |
protected void |
disposeFrame()
close current frame. |
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). |
protected void |
renderFrame(UIRequest req)
Render the frame. |
void |
setRenderer(Renderer renderer)
Associate a Renderer to the FormManager . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HierarchicalFormManager()
Method Detail |
---|
public final void addDialog(UIRequest oe)
Form
.
addDialog
in interface FormManager
oe
- UIRequest
that includes the dialog to showpublic final UIRequest getCurrentDialog()
getCurrentDialog
in interface FormManager
UIRequest
currently being displayedpublic final void closeCurrentDialog()
closeCurrentDialog
in interface FormManager
public final Resource cutDialog(String dialogID)
Handler.cutDialog(String)
.
cutDialog
in interface FormManager
dialogID
- DialogURI to cut
public final void flush()
flush
in interface FormManager
public Form getParentOf(String formURI)
Form
of a given formURI.
getParentOf
in interface FormManager
formURI
- the URI of the child Form
Form
public void setRenderer(Renderer renderer)
Renderer
to the FormManager
.
setRenderer
in interface FormManager
renderer
- the Renderer
to associate withprotected void renderFrame(UIRequest req)
req
- the Form
to be renderedprotected void disposeFrame()
public Collection getAllDialogs()
FormManager
getAllDialogs
in interface FormManager
UIRequest
spublic void missingInput(Input input)
FormManager
missingInput
in interface FormManager
public void adaptationParametersChanged(String dialogID, String changedProp, Object newVal)
FormManager
adaptationParametersChanged
in interface FormManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |