This component extends the existing Ext.Panel with the logic necessary to manage a single ManagedIFrame instance embedded in the Panels' body element.
As in a standard [2.0] Ext.Panel, use the getUpdater method to retrieve the UpdateManager instance for the ManagedIFrame embedded in the Panels' body for updating. Overwrites the current embedded document structure with a new one using UpdateManager. (Ext.UpdateManager compatible)
Syntax:
getUpdater().update( content [, loadScripts] [, callbackFn ] )
Parameter Description:
Possible events raised:
Example:
mifpanel.getUpdater().update("<div> Test content </div>", false, updCallBackFn);
Alternately, you could achieve the same by referencing the embedded frame directly:
mifpanel.getFrame().update( "<div> Test content </div>", false, updCallBackFn );
Returns the ManagedIFrame Component embedded in the Panels body element.
Syntax:
getFrame()
Returns the document object of the panels embedded frame, or null of not available.
Syntax:
getFrameDocument()
Returns the Window object of the embedded frame, or null of not available.
Syntax:
getFrameWindow()
Sends a message to the Window context of the components' managed IFRAME. (for implementation details, see Cross-frame messaging with ManagedIFrame)
Syntax:
sendMessage( message [, tag] [, origin ] )
Parameter Description:
Possible events raised:
Example:
[deprecated 1.1, see ManagedIframe.Manager.showShims/hideShims] This method activates a custom masking IMG used to aid in drag operations which might "transit" the embedded frame. Note: calling the showShims method of ManagedIframe.Manager masks ALL ManagedIframes in use on the page.
Syntax:
Ext.ux.ManagedIframe.Manager.showShims() Ext.ux.ManagedIframe.Manager.hideShims()
Parameter Description: None
[deprecated 1.1, see ManagedIframe.Manager.showShims/hideShims above] This method de-activates ALL frame dragMasks enabled by the :showDragMask method.
Syntax:
hideDragMask()
Parameter Description: None
Toggles visibility of the transparent shimming agent used to mask the frame during dragging or other operations.
Syntax:
toggleShim()
Parameter Description: None