org.xwiki.gwt.dom.client
Class IFrameElement

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.dom.client.Node
          extended by com.google.gwt.dom.client.Element
              extended by com.google.gwt.dom.client.IFrameElement
                  extended by org.xwiki.gwt.dom.client.IFrameElement

public class IFrameElement
extends com.google.gwt.dom.client.IFrameElement

In-line sub-windows.

Version:
$Id$
See Also:
W3C HTML Specification

Field Summary
 
Fields inherited from class com.google.gwt.dom.client.Element
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUE
 
Fields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
 
Constructor Summary
protected IFrameElement()
          Default constructor.
 
Method Summary
static Document getContentDocument(IFrameElement iframe)
          This is a utility method for accessing the content document of an in-line frame in a static way.
 Window getContentWindow()
           
 
Methods inherited from class com.google.gwt.dom.client.IFrameElement
as, getContentDocument, getFrameBorder, getMarginHeight, getMarginWidth, getName, getScrolling, getSrc, isNoResize, setFrameBorder, setMarginHeight, setMarginWidth, setName, setNoResize, setScrolling, setSrc
 
Methods inherited from class com.google.gwt.dom.client.Element
addClassName, as, as, blur, dispatchEvent, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getAttribute, getClassName, getClientHeight, getClientWidth, getDir, getDraggable, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyJSO, getPropertyObject, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTabIndex, getTagName, getTitle, hasAttribute, hasTagName, is, is, removeAttribute, removeClassName, replaceClassName, scrollIntoView, setAttribute, setClassName, setDir, setDraggable, setId, setInnerHTML, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyJSO, setPropertyObject, setPropertyString, setScrollLeft, setScrollTop, setTabIndex, setTitle
 
Methods inherited from class com.google.gwt.dom.client.Node
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeChild, removeFromParent, replaceChild, setNodeValue
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IFrameElement

protected IFrameElement()
Default constructor. Needs to be protected because all instances are created from JavaScript.

Method Detail

getContentWindow

public final Window getContentWindow()
Returns:
a reference to the content window

getContentDocument

public static Document getContentDocument(IFrameElement iframe)
This is a utility method for accessing the content document of an in-line frame in a static way. This method is solely useful when called from native code. As we know, only static references to overlay types are allowed from JSNI.

Parameters:
iframe - an in-line frame element
Returns:
the content document of the given in-line element


Copyright © 2004-2011 XWiki. All Rights Reserved.