@JsType(isNative=true, name="Document", namespace="<global>") public class Document extends Node implements DocumentView<Window>
EventTarget.Options
Modifier and Type | Field and Description |
---|---|
static String |
SVG_NAMESPACE |
static String |
XLINK_NAMESPACE |
ACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTED
Constructor and Description |
---|
Document() |
appendChild, cloneNode, compareDocumentPosition, contains, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNativeNodeType, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasChildNodes, insertAfter, insertBefore, insertBefore, insertFirst, isAncestor, isAttached, isDefaultNamespace, isDescendant, isEqualNode, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenBefore, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, addEventListener, dispatchEvent, dispatchEvent, getEventListeners, removeEventListener, removeEventListener, removeEventListener, removeNativeEventListener, removeNativeEventListener, removeNativeEventListener, setEventListeners
cast, getOwnPropertyNames, hasOwnProperty, observe
@JsOverlay public static final String SVG_NAMESPACE
@JsOverlay public static final String XLINK_NAMESPACE
@JsProperty(name="location") public Location getLocation()
@JsProperty(name="title") public String getTitle()
@JsProperty(name="title") public void setTitle(String title)
@JsProperty(name="referrer") public String getReferrer()
@JsProperty(name="activeElement") public <T extends HTMLElement<T>> T getActiveElement()
public <T extends Element<T>> T createElementNS(String namespaceURI, String qualifiedName)
public Range createRange()
public <T extends HTMLElement<T>> HTMLCollection<T> getElementsByTagName(String name)
public HTMLCollection getElementsByClassName(String name)
public <T extends HTMLElement<T>> T getElementById(String id)
public <T extends HTMLElement<T>> T elementFromPoint(int x, int y)
@JsProperty public HTMLBodyElement getBody()
@JsProperty public HTMLHeadElement getHead()
@JsProperty(name="documentElement") public <T extends Element<T>> T getDocumentElement()
public Selection getSelection()
public boolean execCommand(String aCommandName)
public boolean execCommand(String aCommandName, boolean aShowDefaultUI, String aValueArgument)
@JsProperty public StyleSheetList getStyleSheets()
@JsOverlay public static final Document get()
@JsProperty(name="defaultView") public Window getDefaultView()
getDefaultView
in interface DocumentView<Window>
@JsOverlay public final HTMLAddressElement createAddressElement()
@JsOverlay public final HTMLArticleElement createArticleElement()
@JsOverlay public final HTMLAsideElement createAsideElement()
@JsOverlay public final HTMLButtonElement createButtonElement()
@JsOverlay public final HTMLBRElement createBRElement()
@JsOverlay public final HTMLCanvasElement createCanvasElement()
@JsOverlay public final HTMLDivElement createDivElement()
@JsOverlay public final HTMLElement<?> createNavElement()
@JsOverlay public final HTMLHeadingElement createH1Element()
@JsOverlay public final HTMLHeadingElement createH2Element()
@JsOverlay public final HTMLHeadingElement createH3Element()
@JsOverlay public final HTMLHeadingElement createH4Element()
@JsOverlay public final HTMLHeadingElement createH5Element()
@JsOverlay public final HTMLHeadingElement createH6Element()
@JsOverlay public final HTMLOptGroupElement createOptGroupElement()
@JsOverlay public final HTMLOptionElement createOptionElement()
@JsOverlay public final HTMLInputElement createInputElement()
@JsOverlay public final HTMLFormElement createFormElement()
@JsOverlay public final HTMLFooterElement createFooterElement()
@JsOverlay public final HTMLHeaderElement createHeaderElement()
@JsOverlay public final HTMLImageElement createImageElement()
@JsOverlay public final HTMLIElement createIElement()
@JsOverlay public final HTMLLabelElement createLabelElement()
@JsOverlay public final HTMLMainElement createMainElement()
@JsOverlay public final HTMLSpanElement createSpanElement()
@JsOverlay public final HTMLScriptElement createScriptElement()
@JsOverlay public final HTMLLinkElement createLinkElement()
@JsOverlay public final HTMLParagraphElement createParagraphElement()
@JsOverlay public final HTMLPreElement createPreElement()
@JsOverlay public final HTMLSelectElement createSelectElement()
@JsOverlay public final HTMLTableElement createTableElement()
@JsOverlay public final HTMLTableSectionElement createTableHeadElement()
@JsOverlay public final HTMLTableSectionElement createTableBodyElement()
@JsOverlay public final HTMLTableRowElement createTableRowElement()
@JsOverlay public final HTMLTableCellElement createTableCellElement()
@JsOverlay public final HTMLTableCellElement createTableHeaderCellElement()
@JsOverlay public final HTMLAnchorElement createAnchorElement()
@JsOverlay public final HTMLLIElement createLiElement()
@JsOverlay public final HTMLUListElement createUListElement()
@JsOverlay public final SVGSVGElement createSvgElement()
@JsOverlay public final SVGAElement createSVGAElement()
@JsOverlay public final SVGCircleElement createSVGCircleElement()
@JsOverlay public final SVGClipPathElement createSVGClipPathElement()
@JsOverlay public final SVGDefsElement createSVGDefsElement()
@JsOverlay public final SVGDescElement createSVGDescElement()
@JsOverlay public final SVGSymbolElement createSVGSymbolElement()
@JsOverlay public final SVGUseElement createSVGUseElement()
@JsOverlay public final SVGRectElement createSVGRectElement()
@JsOverlay public final SVGEllipseElement createSVGEllipseElement()
@JsOverlay public final SVGLineElement createSVGLineElement()
@JsOverlay public final SVGTextElement createSVGTextElement()
@JsOverlay public final SVGTSpanElement createSVGTSpanElement()
@JsOverlay public final SVGTRefElement createSVGTRefElement()
@JsOverlay public final SVGTextPathElement createSVGTextPathElement()
@JsOverlay public final SVGFEBlendElement createSVGFEBlendElement()
@JsOverlay public final SVGFEColorMatrixElement createSVGFEColorMatrixElement()
@JsOverlay public final SVGFEFloodElement createSVGFEFloodElement()
@JsOverlay public final SVGFEGaussianBlurElement createSVGFEGaussianBlurElement()
@JsOverlay public final SVGFEOffsetElement createSVGFEOffsetElement()
@JsOverlay public final SVGFilterElement createSVGFilterElement()
@JsOverlay public final SVGGElement createSVGGElement()
@JsOverlay public final SVGLinearGradientElement createSVGLinearGradientElement()
@JsOverlay public final SVGRadialGradientElement createSVGRadialGradientElement()
@JsOverlay public final SVGStopElement createSVGStopElement()
@JsOverlay public final SVGPathElement createSVGPathElement()
@JsOverlay public final void releaseCapture()
@JsOverlay public final <E extends Element<E>> E getCapturingElement()
@JsOverlay public final boolean isCapturing(Element<?> element)
Copyright © 2018 Xalys. All rights reserved.