|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Service shows or hides a VisualRepresentation at the
current BrowserWindow. Normly a VisualRepresentation should
be shown when the dialog is activated and hidden when the dialog is
deactivated.
You have two strategies for showing a VisualRepresentation - modal or not -
and four for hideing it concerning browser navigation:
Note: Up to now there will be only one instance of a BrowserWindow, because we
can't control new browser windows sufficiently. This has shortcomming for
correct information about visibility of VisualRepresentation and
modal dialogs that are no singletons when more than one browser windows are
opend.
| Method Summary | |
void |
hideVisualRepresentation(VisualRepresentation visRep,
boolean recreate)
Hides the VisualRepresentation at all BrowserWindows
with hide and reopen or hide an and do not show again strategy |
void |
hideVisualRepresentation(VisualRepresentation visRep,
java.lang.String redirectUrl)
Hides the VisualRepresentation at all BrowserWindows.
|
void |
hideVisualRepresentation(VisualRepresentation visRep,
java.lang.String replacingDialogId,
java.lang.Object context)
Hides the VisualRepresentation at all
BrowserWindows. with hide and replace by an other
dielog strategy |
void |
showVisualRepresentation(VisualRepresentation visRep)
Show the VisualRepresentation at the current BrowserWindow |
void |
showVisualRepresentation(VisualRepresentation visRep,
boolean modal)
Show the VisualRepresentation at the current BrowserWindow |
| Method Detail |
public void showVisualRepresentation(VisualRepresentation visRep)
VisualRepresentation at the current BrowserWindow
visRep - the VisualRepresentation be shown.
public void showVisualRepresentation(VisualRepresentation visRep,
boolean modal)
VisualRepresentation at the current BrowserWindow
visRep - the VisualRepresentation be shown.modal - true if the VisualRepresentation will be modal.
public void hideVisualRepresentation(VisualRepresentation visRep,
boolean recreate)
VisualRepresentation at all BrowserWindows
with hide and reopen or hide an and do not show again strategy
visRep - the VisualRepresentation to hide.recreate - true: hide and reopen strategy; false: hide an and do not show again strategy
public void hideVisualRepresentation(VisualRepresentation visRep,
java.lang.String redirectUrl)
VisualRepresentation at all BrowserWindows.
with hide and replace by an other page strategy
visRep - the VisualRepresentation to hide.redirectUrl - the url used to redirect to the replacing page
public void hideVisualRepresentation(VisualRepresentation visRep,
java.lang.String replacingDialogId,
java.lang.Object context)
VisualRepresentation at all
BrowserWindows. with hide and replace by an other
dielog strategy
visRep - the VisualRepresentation to hide.replacingDialogId - the dialog id of the dialog to be shown instead of this
VisualRepresentationcontext - an optionally context to be used when creation the replacing
dialog, may be null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||