Zimlet JavaScript API Reference - DwtIframe

Class DwtIframe


Extends DwtControl.

This class represents a simple event proxy. Creates an IFRAME, inserts the given html into it and forwards any events to the parent widget, translating mouse coordinates in between.

Defined in: DwtIframe.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DwtIframe(params, parent, html, noscroll, posStyle, processHtmlCallback, useKbMgmt, title)
Creates an iframe.
Method Summary
Method Attributes Method Name and Description
 
Gets the iframe window document.
 
Gets the iframe.
Methods borrowed from class DwtControl:
addClassName, addControlListener, addDisposeListener, addListener, appendElement, blur, clearContent, clearHandler, condClassName, delClassName, dispose, focus, getBounds, getClassName, getContent, getCursor, getData, getDragBox, getDragSource, getDropTarget, getEnabled, getFocusElement, getH, getHtmlElement, getHTMLElId, getInsetBounds, getInsets, getLocation, getMargins, getOpacity, getOuterSize, getPosition, getScrollContainer, getScrollStyle, getSize, getTabGroupMember, getTooltipBase, getToolTipContent, getVisibility, getVisible, getW, getX, getXW, getY, getYH, getZIndex, hasFocus, isAlertShown, isDisposed, isInitialized, isListenerRegistered, notifyListeners, preventContextMenu, preventSelection, removeAllListeners, removeControlListener, removeDisposeListener, removeListener, reparent, reparentHtmlElement, replaceElement, setBounds, setClassName, setContent, setCursor, setData, setDisplay, setDisplayState, setDragBox, setDragSource, setDropTarget, setEnabled, setEventPropagation, setFocusElement, setHandler, setHtmlElementId, setLocation, setOpacity, setPosition, setScrollStyle, setSize, setToolTipContent, setVisibility, setVisible, setZIndex, showAlert, zShow
Class Detail
DwtIframe(params, parent, html, noscroll, posStyle, processHtmlCallback, useKbMgmt, title)
Creates an iframe.
Author: Mihai Bazon.
Parameters:
{hash} params
a hash of parameters:
{DwtComposite} parent
the parent
{string} html
the HTML code to be inserted in the IFRAME. There will be slight modifications to it (i.e. the margins and paddings of the HTML element will be set to 0, also any margins for BODY).
{boolean} noscroll
if true, do not show the scroll bars
{string} posStyle
the position style (see DwtControl)
{AjxCallback} processHtmlCallback
the callback that will be called immediately after the HTML code was inserted. A reference to the document object will be passed
{boolean} useKbMgmt
if true, participate in keyboard management
{string} title
title for the IFRAME
Method Detail
{Document} getDocument()
Gets the iframe window document.
Returns:
{Document} the document

{Element} getIframe()
Gets the iframe.
Returns:
{Element} the iframe

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:28 GMT-0400 (EDT)