Package org.opencms.gwt.client.util
Interface I_CmsEmbeddedDialogFrame
- All Known Implementing Classes:
CmsEmbeddedDialogFrame
Interface to expose the embedded frame methods as Javascript methods so they can be called from a different GWT context.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hide()
Hides the iframe.void
Sets the dialog loader.void
loadDialog
(String dialogInfoJson, I_CmsEmbeddedDialogHandlerJsCallbacks handler) Triggers loading of a new dialog in the iframe.void
preload()
Triggers initialization of the iframe.
-
Method Details
-
hide
void hide()Hides the iframe. -
installEmbeddedDialogLoader
Sets the dialog loader.This is called by the Javascript code in the iframe.
- Parameters:
loader
- the class used to load dialogs in the iframe itself
-
loadDialog
Triggers loading of a new dialog in the iframe.If the iframe has not been created/initialized yet, this will trigger the initialization and load the dialog afterwards.
- Parameters:
dialogInfoJson
- the serialized dialog info JSON from an I_CmsEmbeddedDialogInfo beanhandler
- the embedded dialog handler
-
preload
void preload()Triggers initialization of the iframe.
-