Package org.opencms.gwt.client.util
Interface I_CmsEmbeddedDialogFrame
-
- All Known Implementing Classes:
CmsEmbeddedDialogFrame
@JsType(isNative=true) public interface I_CmsEmbeddedDialogFrame
Interface to expose the embedded frame methods as Javascript methods so they can be called from a different GWT context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
hide()
Hides the iframe.void
installEmbeddedDialogLoader(I_CmsEmbeddedDialogLoader loader)
Sets the dialog loader.void
loadDialog(java.lang.String dialogInfoJson, I_CmsEmbeddedDialogHandlerJsCallbacks handler)
Triggers loading of a new dialog in the iframe.void
preload()
Triggers initialization of the iframe.
-
-
-
Method Detail
-
hide
void hide()
Hides the iframe.
-
installEmbeddedDialogLoader
void installEmbeddedDialogLoader(I_CmsEmbeddedDialogLoader loader)
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
void loadDialog(java.lang.String dialogInfoJson, I_CmsEmbeddedDialogHandlerJsCallbacks handler)
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.
-
-