@JsType(isNative=true, name="Window", namespace="<global>") public class Window extends Element<Window> implements AbstractView<Document>, ViewCSS<Document>, IDBEnvironment
Modifier and Type | Class and Description |
---|---|
static interface |
Window.AnimationFrameCallback |
static interface |
Window.TimeOutCallback |
EventTarget.Options
ACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTED
Constructor and Description |
---|
Window() |
addClassName, getAbsoluteLeft, getAbsoluteTop, getAttribute, getAttributeNS, getClassList, getClassName, getClientHeight, getClientLeft, getClientTop, getClientWidth, getComputedStyle, getId, getInnerHTML, getInnerText, getNativeStyle, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, hasClassName, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, querySelector, releaseCapture, removeAttribute, removeAttributeNS, removeClassName, setAttribute, setAttributeNS, setCapture, setCapture, setClassName, setId, setInnerHTML, setInnerText, setNativeCatpure, setNativeCatpure, setScrollLeft, setScrollTop, webkitRequestFullscreen
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
public void alert(Object message)
message
- is an optional string of text you want to display in the alert
dialog, or, alternatively, an object that is converted into a
string and displayed.@JsProperty public Console getConsole()
@JsProperty public Document getDocument()
getDocument
in interface AbstractView<Document>
@JsProperty(name="location") public Location getLocation()
@JsProperty(name="localStorage") public Storage getLocalStorage()
@JsProperty(name="sessionStorage") public Storage getSessionStorage()
@JsProperty(name="navigator") public Navigator getNavigator()
@JsProperty(name="screen") public Screen getScreen()
public MediaQueryList matchMedia(String mediaQueryString)
@JsMethod(name="getComputedStyle") public NativeCSSStyleDeclaration getNativeComputedStyle(Element<?> element)
@JsMethod(name="getComputedStyle") public NativeCSSStyleDeclaration getNativeComputedStyle(Element<?> element, String pseudoElement)
getNativeComputedStyle
in interface ViewCSS<Document>
@JsOverlay public final ComputedStyle getComputedStyle(Element<?> element)
@JsOverlay public final ComputedStyle getComputedStyle(Element<?> element, String pseudoElement)
public Window close()
public void focus()
@JsOverlay public static final Window get()
@JsProperty(name="innerWidth") public int getInnerWidth()
@JsProperty(name="innerHeight") public int getInnerHeight()
@JsProperty(name="outerWidth") public int getOuterWidth()
@JsProperty(name="outerHeight") public int getOuterHeight()
public int requestAnimationFrame(Window.AnimationFrameCallback callback)
public void cancelAnimationFrame(int requestID)
public Selection getSelection()
public int setTimeout(Callback callback, int delayInMS)
public int clearTimeout(int timoutId)
public int setInterval(Callback callback, int delayInMS)
public int clearInterval(int intervalId)
@JsProperty(name="performance") public Performance getPerformance()
@JsProperty(name="indexedDB") public IDBFactory getIndexedDB()
getIndexedDB
in interface IDBEnvironment
Copyright © 2018 Xalys. All rights reserved.