xyz.jsinterop.client.dom.Element Maven / Gradle / Ivy
The newest version!
package xyz.jsinterop.client.dom;
/*
* #%L
* jsinterop
* %%
* Copyright (C) 2016 Norbert Sándor
* %%
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* #L%
*/
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelector, ChildNode {
@JsProperty
public abstract DOMTokenList getClassList();
@JsProperty
public abstract void setClassList(final DOMTokenList value);
@JsProperty
public abstract double getClientHeight();
@JsProperty
public abstract void setClientHeight(final double value);
@JsProperty
public abstract double getClientLeft();
@JsProperty
public abstract void setClientLeft(final double value);
@JsProperty
public abstract double getClientTop();
@JsProperty
public abstract void setClientTop(final double value);
@JsProperty
public abstract double getClientWidth();
@JsProperty
public abstract void setClientWidth(final double value);
@JsProperty
public abstract double getMsContentZoomFactor();
@JsProperty
public abstract void setMsContentZoomFactor(final double value);
@JsProperty
public abstract String getMsRegionOverflow();
@JsProperty
public abstract void setMsRegionOverflow(final String value);
@JsProperty
public abstract EventListener getOnariarequest();
@JsProperty
public abstract void setOnariarequest(final EventListener value);
@JsProperty
public abstract EventListener getOncommand();
@JsProperty
public abstract void setOncommand(final EventListener value);
@JsProperty
public abstract EventListener getOngotpointercapture();
@JsProperty
public abstract void setOngotpointercapture(final EventListener value);
@JsProperty
public abstract EventListener getOnlostpointercapture();
@JsProperty
public abstract void setOnlostpointercapture(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgesturechange();
@JsProperty
public abstract void setOnmsgesturechange(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgesturedoubletap();
@JsProperty
public abstract void setOnmsgesturedoubletap(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgestureend();
@JsProperty
public abstract void setOnmsgestureend(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgesturehold();
@JsProperty
public abstract void setOnmsgesturehold(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgesturestart();
@JsProperty
public abstract void setOnmsgesturestart(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgesturetap();
@JsProperty
public abstract void setOnmsgesturetap(final EventListener value);
@JsProperty
public abstract EventListener getOnmsgotpointercapture();
@JsProperty
public abstract void setOnmsgotpointercapture(final EventListener value);
@JsProperty
public abstract EventListener getOnmsinertiastart();
@JsProperty
public abstract void setOnmsinertiastart(final EventListener value);
@JsProperty
public abstract EventListener getOnmslostpointercapture();
@JsProperty
public abstract void setOnmslostpointercapture(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointercancel();
@JsProperty
public abstract void setOnmspointercancel(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerdown();
@JsProperty
public abstract void setOnmspointerdown(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerenter();
@JsProperty
public abstract void setOnmspointerenter(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerleave();
@JsProperty
public abstract void setOnmspointerleave(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointermove();
@JsProperty
public abstract void setOnmspointermove(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerout();
@JsProperty
public abstract void setOnmspointerout(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerover();
@JsProperty
public abstract void setOnmspointerover(final EventListener value);
@JsProperty
public abstract EventListener getOnmspointerup();
@JsProperty
public abstract void setOnmspointerup(final EventListener value);
@JsProperty
public abstract EventListener getOntouchcancel();
@JsProperty
public abstract void setOntouchcancel(final EventListener value);
@JsProperty
public abstract EventListener getOntouchend();
@JsProperty
public abstract void setOntouchend(final EventListener value);
@JsProperty
public abstract EventListener getOntouchmove();
@JsProperty
public abstract void setOntouchmove(final EventListener value);
@JsProperty
public abstract EventListener getOntouchstart();
@JsProperty
public abstract void setOntouchstart(final EventListener value);
@JsProperty
public abstract EventListener getOnwebkitfullscreenchange();
@JsProperty
public abstract void setOnwebkitfullscreenchange(final EventListener value);
@JsProperty
public abstract EventListener getOnwebkitfullscreenerror();
@JsProperty
public abstract void setOnwebkitfullscreenerror(final EventListener value);
@JsProperty
public abstract double getScrollHeight();
@JsProperty
public abstract void setScrollHeight(final double value);
@JsProperty
public abstract double getScrollLeft();
@JsProperty
public abstract void setScrollLeft(final double value);
@JsProperty
public abstract double getScrollTop();
@JsProperty
public abstract void setScrollTop(final double value);
@JsProperty
public abstract double getScrollWidth();
@JsProperty
public abstract void setScrollWidth(final double value);
@JsProperty
public abstract String getTagName();
@JsProperty
public abstract void setTagName(final String value);
@JsProperty
public abstract String getId();
@JsProperty
public abstract void setId(final String value);
@JsProperty
public abstract String getClassName();
@JsProperty
public abstract void setClassName(final String value);
@JsProperty
public abstract String getInnerHTML();
@JsProperty
public abstract void setInnerHTML(final String value);
@JsMethod
public abstract String getAttribute();
@JsMethod
public abstract String getAttribute(final String name);
@JsMethod
public abstract String getAttributeNS(final String namespaceURI, final String localName);
@JsMethod
public abstract Attr getAttributeNode(final String name);
@JsMethod
public abstract Attr getAttributeNodeNS(final String namespaceURI, final String localName);
@JsMethod
public abstract ClientRect getBoundingClientRect();
@JsMethod
public abstract ClientRectList getClientRects();
@JsOverlay
public default NodeListOf getElementsByTagNameA() {
return (NodeListOf) getElementsByTagName("a");
}
@JsOverlay
public default NodeListOf getElementsByTagNameAbbr() {
return (NodeListOf) getElementsByTagName("abbr");
}
@JsOverlay
public default NodeListOf getElementsByTagNameAcronym() {
return (NodeListOf) getElementsByTagName("acronym");
}
@JsOverlay
public default NodeListOf getElementsByTagNameAddress() {
return (NodeListOf) getElementsByTagName("address");
}
@JsOverlay
public default NodeListOf getElementsByTagNameApplet() {
return (NodeListOf) getElementsByTagName("applet");
}
@JsOverlay
public default NodeListOf getElementsByTagNameArea() {
return (NodeListOf) getElementsByTagName("area");
}
@JsOverlay
public default NodeListOf getElementsByTagNameArticle() {
return (NodeListOf) getElementsByTagName("article");
}
@JsOverlay
public default NodeListOf getElementsByTagNameAside() {
return (NodeListOf) getElementsByTagName("aside");
}
@JsOverlay
public default NodeListOf getElementsByTagNameAudio() {
return (NodeListOf) getElementsByTagName("audio");
}
@JsOverlay
public default NodeListOf getElementsByTagNameB() {
return (NodeListOf) getElementsByTagName("b");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBase() {
return (NodeListOf) getElementsByTagName("base");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBasefont() {
return (NodeListOf) getElementsByTagName("basefont");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBdo() {
return (NodeListOf) getElementsByTagName("bdo");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBig() {
return (NodeListOf) getElementsByTagName("big");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBlockquote() {
return (NodeListOf) getElementsByTagName("blockquote");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBody() {
return (NodeListOf) getElementsByTagName("body");
}
@JsOverlay
public default NodeListOf getElementsByTagNameBr() {
return (NodeListOf) getElementsByTagName("br");
}
@JsOverlay
public default NodeListOf getElementsByTagNameButton() {
return (NodeListOf) getElementsByTagName("button");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCanvas() {
return (NodeListOf) getElementsByTagName("canvas");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCaption() {
return (NodeListOf) getElementsByTagName("caption");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCenter() {
return (NodeListOf) getElementsByTagName("center");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCircle() {
return (NodeListOf) getElementsByTagName("circle");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCite() {
return (NodeListOf) getElementsByTagName("cite");
}
@JsOverlay
public default NodeListOf getElementsByTagNameClippath() {
return (NodeListOf) getElementsByTagName("clippath");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCode() {
return (NodeListOf) getElementsByTagName("code");
}
@JsOverlay
public default NodeListOf getElementsByTagNameCol() {
return (NodeListOf) getElementsByTagName("col");
}
@JsOverlay
public default NodeListOf getElementsByTagNameColgroup() {
return (NodeListOf) getElementsByTagName("colgroup");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDatalist() {
return (NodeListOf) getElementsByTagName("datalist");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDd() {
return (NodeListOf) getElementsByTagName("dd");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDefs() {
return (NodeListOf) getElementsByTagName("defs");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDel() {
return (NodeListOf) getElementsByTagName("del");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDesc() {
return (NodeListOf) getElementsByTagName("desc");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDfn() {
return (NodeListOf) getElementsByTagName("dfn");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDir() {
return (NodeListOf) getElementsByTagName("dir");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDiv() {
return (NodeListOf) getElementsByTagName("div");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDl() {
return (NodeListOf) getElementsByTagName("dl");
}
@JsOverlay
public default NodeListOf getElementsByTagNameDt() {
return (NodeListOf) getElementsByTagName("dt");
}
@JsOverlay
public default NodeListOf getElementsByTagNameEllipse() {
return (NodeListOf) getElementsByTagName("ellipse");
}
@JsOverlay
public default NodeListOf getElementsByTagNameEm() {
return (NodeListOf) getElementsByTagName("em");
}
@JsOverlay
public default NodeListOf getElementsByTagNameEmbed() {
return (NodeListOf) getElementsByTagName("embed");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeblend() {
return (NodeListOf) getElementsByTagName("feblend");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFecolormatrix() {
return (NodeListOf) getElementsByTagName("fecolormatrix");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFecomponenttransfer() {
return (NodeListOf) getElementsByTagName("fecomponenttransfer");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFecomposite() {
return (NodeListOf) getElementsByTagName("fecomposite");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeconvolvematrix() {
return (NodeListOf) getElementsByTagName("feconvolvematrix");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFediffuselighting() {
return (NodeListOf) getElementsByTagName("fediffuselighting");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFedisplacementmap() {
return (NodeListOf) getElementsByTagName("fedisplacementmap");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFedistantlight() {
return (NodeListOf) getElementsByTagName("fedistantlight");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeflood() {
return (NodeListOf) getElementsByTagName("feflood");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFefunca() {
return (NodeListOf) getElementsByTagName("fefunca");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFefuncb() {
return (NodeListOf) getElementsByTagName("fefuncb");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFefuncg() {
return (NodeListOf) getElementsByTagName("fefuncg");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFefuncr() {
return (NodeListOf) getElementsByTagName("fefuncr");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFegaussianblur() {
return (NodeListOf) getElementsByTagName("fegaussianblur");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeimage() {
return (NodeListOf) getElementsByTagName("feimage");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFemerge() {
return (NodeListOf) getElementsByTagName("femerge");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFemergenode() {
return (NodeListOf) getElementsByTagName("femergenode");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFemorphology() {
return (NodeListOf) getElementsByTagName("femorphology");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeoffset() {
return (NodeListOf) getElementsByTagName("feoffset");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFepointlight() {
return (NodeListOf) getElementsByTagName("fepointlight");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFespecularlighting() {
return (NodeListOf) getElementsByTagName("fespecularlighting");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFespotlight() {
return (NodeListOf) getElementsByTagName("fespotlight");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFetile() {
return (NodeListOf) getElementsByTagName("fetile");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFeturbulence() {
return (NodeListOf) getElementsByTagName("feturbulence");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFieldset() {
return (NodeListOf) getElementsByTagName("fieldset");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFigcaption() {
return (NodeListOf) getElementsByTagName("figcaption");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFigure() {
return (NodeListOf) getElementsByTagName("figure");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFilter() {
return (NodeListOf) getElementsByTagName("filter");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFont() {
return (NodeListOf) getElementsByTagName("font");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFooter() {
return (NodeListOf) getElementsByTagName("footer");
}
@JsOverlay
public default NodeListOf getElementsByTagNameForeignobject() {
return (NodeListOf) getElementsByTagName("foreignobject");
}
@JsOverlay
public default NodeListOf getElementsByTagNameForm() {
return (NodeListOf) getElementsByTagName("form");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFrame() {
return (NodeListOf) getElementsByTagName("frame");
}
@JsOverlay
public default NodeListOf getElementsByTagNameFrameset() {
return (NodeListOf) getElementsByTagName("frameset");
}
@JsOverlay
public default NodeListOf getElementsByTagNameG() {
return (NodeListOf) getElementsByTagName("g");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH1() {
return (NodeListOf) getElementsByTagName("h1");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH2() {
return (NodeListOf) getElementsByTagName("h2");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH3() {
return (NodeListOf) getElementsByTagName("h3");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH4() {
return (NodeListOf) getElementsByTagName("h4");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH5() {
return (NodeListOf) getElementsByTagName("h5");
}
@JsOverlay
public default NodeListOf getElementsByTagNameH6() {
return (NodeListOf) getElementsByTagName("h6");
}
@JsOverlay
public default NodeListOf getElementsByTagNameHead() {
return (NodeListOf) getElementsByTagName("head");
}
@JsOverlay
public default NodeListOf getElementsByTagNameHeader() {
return (NodeListOf) getElementsByTagName("header");
}
@JsOverlay
public default NodeListOf getElementsByTagNameHgroup() {
return (NodeListOf) getElementsByTagName("hgroup");
}
@JsOverlay
public default NodeListOf getElementsByTagNameHr() {
return (NodeListOf) getElementsByTagName("hr");
}
@JsOverlay
public default NodeListOf getElementsByTagNameHtml() {
return (NodeListOf) getElementsByTagName("html");
}
@JsOverlay
public default NodeListOf getElementsByTagNameI() {
return (NodeListOf) getElementsByTagName("i");
}
@JsOverlay
public default NodeListOf getElementsByTagNameIframe() {
return (NodeListOf) getElementsByTagName("iframe");
}
@JsOverlay
public default NodeListOf getElementsByTagNameImage() {
return (NodeListOf) getElementsByTagName("image");
}
@JsOverlay
public default NodeListOf getElementsByTagNameImg() {
return (NodeListOf) getElementsByTagName("img");
}
@JsOverlay
public default NodeListOf getElementsByTagNameInput() {
return (NodeListOf) getElementsByTagName("input");
}
@JsOverlay
public default NodeListOf getElementsByTagNameIns() {
return (NodeListOf) getElementsByTagName("ins");
}
@JsOverlay
public default NodeListOf getElementsByTagNameIsindex() {
return (NodeListOf) getElementsByTagName("isindex");
}
@JsOverlay
public default NodeListOf getElementsByTagNameKbd() {
return (NodeListOf) getElementsByTagName("kbd");
}
@JsOverlay
public default NodeListOf getElementsByTagNameKeygen() {
return (NodeListOf) getElementsByTagName("keygen");
}
@JsOverlay
public default NodeListOf getElementsByTagNameLabel() {
return (NodeListOf) getElementsByTagName("label");
}
@JsOverlay
public default NodeListOf getElementsByTagNameLegend() {
return (NodeListOf) getElementsByTagName("legend");
}
@JsOverlay
public default NodeListOf getElementsByTagNameLi() {
return (NodeListOf) getElementsByTagName("li");
}
@JsOverlay
public default NodeListOf getElementsByTagNameLine() {
return (NodeListOf