All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.dom.Window Maven / Gradle / Ivy

package js.web.dom;

import js.lang.Any;
import js.lang.Unknown;
import js.util.buffers.Transferable;
import js.util.collections.Array;
import js.util.function.JsDoubleConsumer;
import js.web.ambientlightevents.DeviceLightEvent;
import js.web.console.Console;
import js.web.console.WindowConsole;
import js.web.cssom.CSSRuleList;
import js.web.cssom.CSSStyleDeclaration;
import js.web.cssom.MediaQueryList;
import js.web.cssom.Screen;
import js.web.deviceorientation.DeviceMotionEvent;
import js.web.deviceorientation.DeviceOrientationEvent;
import js.web.history.History;
import js.web.indexeddb.IDBEnvironment;
import js.web.performance.Performance;
import js.web.serviceworker.CacheStorage;
import js.web.webcomponents.CustomElementRegistry;
import js.web.webcrypto.Crypto;
import js.web.webspeech.SpeechSynthesis;
import js.web.webstorage.WindowLocalStorage;
import js.web.webstorage.WindowSessionStorage;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSIndexer;
import org.teavm.jso.JSProperty;

import javax.annotation.Nullable;

/**
 * A window containing a DOM document; the document property points to the DOM document loaded in that window.
 */
public interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, IDBEnvironment, WindowBase64, WindowConsole, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage, WindowTimers {
    Window WINDOW = getWindowInstance();

    Console CONSOLE = getConsoleInstance();

    Document DOCUMENT = getDocumentInstance();

    Location LOCATION = getLocationInstance();

    Navigator NAVIGATOR = getNavigatorInstance();

    History HISTORY = getHistoryInstance();

    @JSBody(script = "return Window.prototype")
    static Window prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new Window()")
    static Window create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self")
    static Window getWindowInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self.console")
    static Console getConsoleInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self.document")
    static Document getDocumentInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self.location")
    static Location getLocationInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self.navigator")
    static Navigator getNavigatorInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return self.history")
    static History getHistoryInstance() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    ApplicationCache getApplicationCache();

    @JSProperty
    CacheStorage getCaches();

    @JSProperty
    Navigator getClientInformation();

    @JSProperty
    boolean isClosed();

    @JSProperty
    Crypto getCrypto();

    @JSProperty
    CustomElementRegistry getCustomElements();

    @JSProperty
    void setCustomElements(CustomElementRegistry customElements);

    @JSProperty
    String getDefaultStatus();

    @JSProperty
    void setDefaultStatus(String defaultStatus);

    @JSProperty
    double getDevicePixelRatio();

    @JSProperty
    String getDoNotTrack();

    @JSProperty
    Document getDocument();

    @Deprecated
    @JSProperty
    @Nullable
    Event getEvent();

    @Deprecated
    @JSProperty
    External getExternal();

    @JSProperty
    Element getFrameElement();

    @JSProperty
    Window getFrames();

    @JSProperty
    History getHistory();

    @JSProperty
    double getInnerHeight();

    @JSProperty
    double getInnerWidth();

    @JSProperty
    boolean isIsSecureContext();

    @JSProperty
    int getLength();

    @JSProperty
    Location getLocation();

    @JSProperty
    void setLocation(Location location);

    @JSProperty
    BarProp getLocationbar();

    @JSProperty
    BarProp getMenubar();

    @JSProperty
    String getName();

    @JSProperty
    void setName(String name);

    @JSProperty
    Navigator getNavigator();

    @JSProperty
    Unknown isOffscreenBuffering();

    @JSProperty
    void setOffscreenBuffering(String offscreenBuffering);

    @JSProperty
    void setOffscreenBuffering(boolean offscreenBuffering);

    @JSProperty
    @Nullable
    EventListener getOncompassneedscalibration();

    @JSProperty
    void setOncompassneedscalibration(EventListener oncompassneedscalibration);

    default void addCompassNeedsCalibrationEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("compassneedscalibration", listener, options);
    }

    default void addCompassNeedsCalibrationEventListener(EventListener listener, boolean options) {
        addEventListener("compassneedscalibration", listener, options);
    }

    default void addCompassNeedsCalibrationEventListener(EventListener listener) {
        addEventListener("compassneedscalibration", listener);
    }

    default void removeCompassNeedsCalibrationEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("compassneedscalibration", listener, options);
    }

    default void removeCompassNeedsCalibrationEventListener(EventListener listener, boolean options) {
        removeEventListener("compassneedscalibration", listener, options);
    }

    default void removeCompassNeedsCalibrationEventListener(EventListener listener) {
        removeEventListener("compassneedscalibration", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOndevicelight();

    @JSProperty
    void setOndevicelight(EventListener ondevicelight);

    default void addDeviceLightEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("devicelight", listener, options);
    }

    default void addDeviceLightEventListener(EventListener listener, boolean options) {
        addEventListener("devicelight", listener, options);
    }

    default void addDeviceLightEventListener(EventListener listener) {
        addEventListener("devicelight", listener);
    }

    default void removeDeviceLightEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("devicelight", listener, options);
    }

    default void removeDeviceLightEventListener(EventListener listener, boolean options) {
        removeEventListener("devicelight", listener, options);
    }

    default void removeDeviceLightEventListener(EventListener listener) {
        removeEventListener("devicelight", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOndevicemotion();

    @JSProperty
    void setOndevicemotion(EventListener ondevicemotion);

    default void addDeviceMotionEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("devicemotion", listener, options);
    }

    default void addDeviceMotionEventListener(EventListener listener, boolean options) {
        addEventListener("devicemotion", listener, options);
    }

    default void addDeviceMotionEventListener(EventListener listener) {
        addEventListener("devicemotion", listener);
    }

    default void removeDeviceMotionEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("devicemotion", listener, options);
    }

    default void removeDeviceMotionEventListener(EventListener listener, boolean options) {
        removeEventListener("devicemotion", listener, options);
    }

    default void removeDeviceMotionEventListener(EventListener listener) {
        removeEventListener("devicemotion", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOndeviceorientation();

    @JSProperty
    void setOndeviceorientation(EventListener ondeviceorientation);

    default void addDeviceOrientationEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("deviceorientation", listener, options);
    }

    default void addDeviceOrientationEventListener(EventListener listener, boolean options) {
        addEventListener("deviceorientation", listener, options);
    }

    default void addDeviceOrientationEventListener(EventListener listener) {
        addEventListener("deviceorientation", listener);
    }

    default void removeDeviceOrientationEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("deviceorientation", listener, options);
    }

    default void removeDeviceOrientationEventListener(EventListener listener, boolean options) {
        removeEventListener("deviceorientation", listener, options);
    }

    default void removeDeviceOrientationEventListener(EventListener listener) {
        removeEventListener("deviceorientation", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOndeviceorientationabsolute();

    @JSProperty
    void setOndeviceorientationabsolute(EventListener ondeviceorientationabsolute);

    default void addDeviceOrientationAbsoluteEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("deviceorientationabsolute", listener, options);
    }

    default void addDeviceOrientationAbsoluteEventListener(EventListener listener, boolean options) {
        addEventListener("deviceorientationabsolute", listener, options);
    }

    default void addDeviceOrientationAbsoluteEventListener(EventListener listener) {
        addEventListener("deviceorientationabsolute", listener);
    }

    default void removeDeviceOrientationAbsoluteEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("deviceorientationabsolute", listener, options);
    }

    default void removeDeviceOrientationAbsoluteEventListener(EventListener listener, boolean options) {
        removeEventListener("deviceorientationabsolute", listener, options);
    }

    default void removeDeviceOrientationAbsoluteEventListener(EventListener listener) {
        removeEventListener("deviceorientationabsolute", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmousewheel();

    @JSProperty
    void setOnmousewheel(EventListener onmousewheel);

    default void addMouseWheelEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mousewheel", listener, options);
    }

    default void addMouseWheelEventListener(EventListener listener, boolean options) {
        addEventListener("mousewheel", listener, options);
    }

    default void addMouseWheelEventListener(EventListener listener) {
        addEventListener("mousewheel", listener);
    }

    default void removeMouseWheelEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mousewheel", listener, options);
    }

    default void removeMouseWheelEventListener(EventListener listener, boolean options) {
        removeEventListener("mousewheel", listener, options);
    }

    default void removeMouseWheelEventListener(EventListener listener) {
        removeEventListener("mousewheel", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgesturechange();

    @JSProperty
    void setOnmsgesturechange(EventListener onmsgesturechange);

    default void addMSGestureChangeEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgesturechange", listener, options);
    }

    default void addMSGestureChangeEventListener(EventListener listener, boolean options) {
        addEventListener("msgesturechange", listener, options);
    }

    default void addMSGestureChangeEventListener(EventListener listener) {
        addEventListener("msgesturechange", listener);
    }

    default void removeMSGestureChangeEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgesturechange", listener, options);
    }

    default void removeMSGestureChangeEventListener(EventListener listener, boolean options) {
        removeEventListener("msgesturechange", listener, options);
    }

    default void removeMSGestureChangeEventListener(EventListener listener) {
        removeEventListener("msgesturechange", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgesturedoubletap();

    @JSProperty
    void setOnmsgesturedoubletap(EventListener onmsgesturedoubletap);

    default void addMSGestureDoubleTapEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgesturedoubletap", listener, options);
    }

    default void addMSGestureDoubleTapEventListener(EventListener listener, boolean options) {
        addEventListener("msgesturedoubletap", listener, options);
    }

    default void addMSGestureDoubleTapEventListener(EventListener listener) {
        addEventListener("msgesturedoubletap", listener);
    }

    default void removeMSGestureDoubleTapEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgesturedoubletap", listener, options);
    }

    default void removeMSGestureDoubleTapEventListener(EventListener listener, boolean options) {
        removeEventListener("msgesturedoubletap", listener, options);
    }

    default void removeMSGestureDoubleTapEventListener(EventListener listener) {
        removeEventListener("msgesturedoubletap", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgestureend();

    @JSProperty
    void setOnmsgestureend(EventListener onmsgestureend);

    default void addMSGestureEndEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgestureend", listener, options);
    }

    default void addMSGestureEndEventListener(EventListener listener, boolean options) {
        addEventListener("msgestureend", listener, options);
    }

    default void addMSGestureEndEventListener(EventListener listener) {
        addEventListener("msgestureend", listener);
    }

    default void removeMSGestureEndEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgestureend", listener, options);
    }

    default void removeMSGestureEndEventListener(EventListener listener, boolean options) {
        removeEventListener("msgestureend", listener, options);
    }

    default void removeMSGestureEndEventListener(EventListener listener) {
        removeEventListener("msgestureend", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgesturehold();

    @JSProperty
    void setOnmsgesturehold(EventListener onmsgesturehold);

    default void addMSGestureHoldEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgesturehold", listener, options);
    }

    default void addMSGestureHoldEventListener(EventListener listener, boolean options) {
        addEventListener("msgesturehold", listener, options);
    }

    default void addMSGestureHoldEventListener(EventListener listener) {
        addEventListener("msgesturehold", listener);
    }

    default void removeMSGestureHoldEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgesturehold", listener, options);
    }

    default void removeMSGestureHoldEventListener(EventListener listener, boolean options) {
        removeEventListener("msgesturehold", listener, options);
    }

    default void removeMSGestureHoldEventListener(EventListener listener) {
        removeEventListener("msgesturehold", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgesturestart();

    @JSProperty
    void setOnmsgesturestart(EventListener onmsgesturestart);

    default void addMSGestureStartEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgesturestart", listener, options);
    }

    default void addMSGestureStartEventListener(EventListener listener, boolean options) {
        addEventListener("msgesturestart", listener, options);
    }

    default void addMSGestureStartEventListener(EventListener listener) {
        addEventListener("msgesturestart", listener);
    }

    default void removeMSGestureStartEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgesturestart", listener, options);
    }

    default void removeMSGestureStartEventListener(EventListener listener, boolean options) {
        removeEventListener("msgesturestart", listener, options);
    }

    default void removeMSGestureStartEventListener(EventListener listener) {
        removeEventListener("msgesturestart", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsgesturetap();

    @JSProperty
    void setOnmsgesturetap(EventListener onmsgesturetap);

    default void addMSGestureTapEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msgesturetap", listener, options);
    }

    default void addMSGestureTapEventListener(EventListener listener, boolean options) {
        addEventListener("msgesturetap", listener, options);
    }

    default void addMSGestureTapEventListener(EventListener listener) {
        addEventListener("msgesturetap", listener);
    }

    default void removeMSGestureTapEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msgesturetap", listener, options);
    }

    default void removeMSGestureTapEventListener(EventListener listener, boolean options) {
        removeEventListener("msgesturetap", listener, options);
    }

    default void removeMSGestureTapEventListener(EventListener listener) {
        removeEventListener("msgesturetap", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmsinertiastart();

    @JSProperty
    void setOnmsinertiastart(EventListener onmsinertiastart);

    default void addMSInertiaStartEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("msinertiastart", listener, options);
    }

    default void addMSInertiaStartEventListener(EventListener listener, boolean options) {
        addEventListener("msinertiastart", listener, options);
    }

    default void addMSInertiaStartEventListener(EventListener listener) {
        addEventListener("msinertiastart", listener);
    }

    default void removeMSInertiaStartEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("msinertiastart", listener, options);
    }

    default void removeMSInertiaStartEventListener(EventListener listener, boolean options) {
        removeEventListener("msinertiastart", listener, options);
    }

    default void removeMSInertiaStartEventListener(EventListener listener) {
        removeEventListener("msinertiastart", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointercancel();

    @JSProperty
    void setOnmspointercancel(EventListener onmspointercancel);

    default void addMSPointerCancelEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointercancel", listener, options);
    }

    default void addMSPointerCancelEventListener(EventListener listener, boolean options) {
        addEventListener("mspointercancel", listener, options);
    }

    default void addMSPointerCancelEventListener(EventListener listener) {
        addEventListener("mspointercancel", listener);
    }

    default void removeMSPointerCancelEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointercancel", listener, options);
    }

    default void removeMSPointerCancelEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointercancel", listener, options);
    }

    default void removeMSPointerCancelEventListener(EventListener listener) {
        removeEventListener("mspointercancel", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerdown();

    @JSProperty
    void setOnmspointerdown(EventListener onmspointerdown);

    default void addMSPointerDownEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerdown", listener, options);
    }

    default void addMSPointerDownEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerdown", listener, options);
    }

    default void addMSPointerDownEventListener(EventListener listener) {
        addEventListener("mspointerdown", listener);
    }

    default void removeMSPointerDownEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerdown", listener, options);
    }

    default void removeMSPointerDownEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerdown", listener, options);
    }

    default void removeMSPointerDownEventListener(EventListener listener) {
        removeEventListener("mspointerdown", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerenter();

    @JSProperty
    void setOnmspointerenter(EventListener onmspointerenter);

    default void addMSPointerEnterEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerenter", listener, options);
    }

    default void addMSPointerEnterEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerenter", listener, options);
    }

    default void addMSPointerEnterEventListener(EventListener listener) {
        addEventListener("mspointerenter", listener);
    }

    default void removeMSPointerEnterEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerenter", listener, options);
    }

    default void removeMSPointerEnterEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerenter", listener, options);
    }

    default void removeMSPointerEnterEventListener(EventListener listener) {
        removeEventListener("mspointerenter", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerleave();

    @JSProperty
    void setOnmspointerleave(EventListener onmspointerleave);

    default void addMSPointerLeaveEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerleave", listener, options);
    }

    default void addMSPointerLeaveEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerleave", listener, options);
    }

    default void addMSPointerLeaveEventListener(EventListener listener) {
        addEventListener("mspointerleave", listener);
    }

    default void removeMSPointerLeaveEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerleave", listener, options);
    }

    default void removeMSPointerLeaveEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerleave", listener, options);
    }

    default void removeMSPointerLeaveEventListener(EventListener listener) {
        removeEventListener("mspointerleave", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointermove();

    @JSProperty
    void setOnmspointermove(EventListener onmspointermove);

    default void addMSPointerMoveEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointermove", listener, options);
    }

    default void addMSPointerMoveEventListener(EventListener listener, boolean options) {
        addEventListener("mspointermove", listener, options);
    }

    default void addMSPointerMoveEventListener(EventListener listener) {
        addEventListener("mspointermove", listener);
    }

    default void removeMSPointerMoveEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointermove", listener, options);
    }

    default void removeMSPointerMoveEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointermove", listener, options);
    }

    default void removeMSPointerMoveEventListener(EventListener listener) {
        removeEventListener("mspointermove", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerout();

    @JSProperty
    void setOnmspointerout(EventListener onmspointerout);

    default void addMSPointerOutEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerout", listener, options);
    }

    default void addMSPointerOutEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerout", listener, options);
    }

    default void addMSPointerOutEventListener(EventListener listener) {
        addEventListener("mspointerout", listener);
    }

    default void removeMSPointerOutEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerout", listener, options);
    }

    default void removeMSPointerOutEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerout", listener, options);
    }

    default void removeMSPointerOutEventListener(EventListener listener) {
        removeEventListener("mspointerout", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerover();

    @JSProperty
    void setOnmspointerover(EventListener onmspointerover);

    default void addMSPointerOverEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerover", listener, options);
    }

    default void addMSPointerOverEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerover", listener, options);
    }

    default void addMSPointerOverEventListener(EventListener listener) {
        addEventListener("mspointerover", listener);
    }

    default void removeMSPointerOverEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerover", listener, options);
    }

    default void removeMSPointerOverEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerover", listener, options);
    }

    default void removeMSPointerOverEventListener(EventListener listener) {
        removeEventListener("mspointerover", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnmspointerup();

    @JSProperty
    void setOnmspointerup(EventListener onmspointerup);

    default void addMSPointerUpEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("mspointerup", listener, options);
    }

    default void addMSPointerUpEventListener(EventListener listener, boolean options) {
        addEventListener("mspointerup", listener, options);
    }

    default void addMSPointerUpEventListener(EventListener listener) {
        addEventListener("mspointerup", listener);
    }

    default void removeMSPointerUpEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("mspointerup", listener, options);
    }

    default void removeMSPointerUpEventListener(EventListener listener, boolean options) {
        removeEventListener("mspointerup", listener, options);
    }

    default void removeMSPointerUpEventListener(EventListener listener) {
        removeEventListener("mspointerup", listener);
    }

    @Deprecated
    @JSProperty
    @Nullable
    EventListener getOnorientationchange();

    @Deprecated
    @JSProperty
    void setOnorientationchange(EventListener onorientationchange);

    @Deprecated
    default void addOrientationChangeEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("orientationchange", listener, options);
    }

    @Deprecated
    default void addOrientationChangeEventListener(EventListener listener, boolean options) {
        addEventListener("orientationchange", listener, options);
    }

    @Deprecated
    default void addOrientationChangeEventListener(EventListener listener) {
        addEventListener("orientationchange", listener);
    }

    @Deprecated
    default void removeOrientationChangeEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("orientationchange", listener, options);
    }

    @Deprecated
    default void removeOrientationChangeEventListener(EventListener listener, boolean options) {
        removeEventListener("orientationchange", listener, options);
    }

    @Deprecated
    default void removeOrientationChangeEventListener(EventListener listener) {
        removeEventListener("orientationchange", listener);
    }

    @JSProperty
    @Nullable
    EventListener> getOnreadystatechange();

    @JSProperty
    void setOnreadystatechange(EventListener> onreadystatechange);

    default void addReadyStateChangeEventListener(EventListener> listener, AddEventListenerOptions options) {
        addEventListener("readystatechange", listener, options);
    }

    default void addReadyStateChangeEventListener(EventListener> listener, boolean options) {
        addEventListener("readystatechange", listener, options);
    }

    default void addReadyStateChangeEventListener(EventListener> listener) {
        addEventListener("readystatechange", listener);
    }

    default void removeReadyStateChangeEventListener(EventListener> listener, EventListenerOptions options) {
        removeEventListener("readystatechange", listener, options);
    }

    default void removeReadyStateChangeEventListener(EventListener> listener, boolean options) {
        removeEventListener("readystatechange", listener, options);
    }

    default void removeReadyStateChangeEventListener(EventListener> listener) {
        removeEventListener("readystatechange", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplayactivate();

    @JSProperty
    void setOnvrdisplayactivate(EventListener onvrdisplayactivate);

    default void addVRDisplayActivateEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplayactivate", listener, options);
    }

    default void addVRDisplayActivateEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplayactivate", listener, options);
    }

    default void addVRDisplayActivateEventListener(EventListener listener) {
        addEventListener("vrdisplayactivate", listener);
    }

    default void removeVRDisplayActivateEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplayactivate", listener, options);
    }

    default void removeVRDisplayActivateEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplayactivate", listener, options);
    }

    default void removeVRDisplayActivateEventListener(EventListener listener) {
        removeEventListener("vrdisplayactivate", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplayblur();

    @JSProperty
    void setOnvrdisplayblur(EventListener onvrdisplayblur);

    default void addVRDisplayBlurEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplayblur", listener, options);
    }

    default void addVRDisplayBlurEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplayblur", listener, options);
    }

    default void addVRDisplayBlurEventListener(EventListener listener) {
        addEventListener("vrdisplayblur", listener);
    }

    default void removeVRDisplayBlurEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplayblur", listener, options);
    }

    default void removeVRDisplayBlurEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplayblur", listener, options);
    }

    default void removeVRDisplayBlurEventListener(EventListener listener) {
        removeEventListener("vrdisplayblur", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplayconnect();

    @JSProperty
    void setOnvrdisplayconnect(EventListener onvrdisplayconnect);

    default void addVRDisplayConnectEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplayconnect", listener, options);
    }

    default void addVRDisplayConnectEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplayconnect", listener, options);
    }

    default void addVRDisplayConnectEventListener(EventListener listener) {
        addEventListener("vrdisplayconnect", listener);
    }

    default void removeVRDisplayConnectEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplayconnect", listener, options);
    }

    default void removeVRDisplayConnectEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplayconnect", listener, options);
    }

    default void removeVRDisplayConnectEventListener(EventListener listener) {
        removeEventListener("vrdisplayconnect", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplaydeactivate();

    @JSProperty
    void setOnvrdisplaydeactivate(EventListener onvrdisplaydeactivate);

    default void addVRDisplayDeactivateEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplaydeactivate", listener, options);
    }

    default void addVRDisplayDeactivateEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplaydeactivate", listener, options);
    }

    default void addVRDisplayDeactivateEventListener(EventListener listener) {
        addEventListener("vrdisplaydeactivate", listener);
    }

    default void removeVRDisplayDeactivateEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplaydeactivate", listener, options);
    }

    default void removeVRDisplayDeactivateEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplaydeactivate", listener, options);
    }

    default void removeVRDisplayDeactivateEventListener(EventListener listener) {
        removeEventListener("vrdisplaydeactivate", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplaydisconnect();

    @JSProperty
    void setOnvrdisplaydisconnect(EventListener onvrdisplaydisconnect);

    default void addVRDisplayDisconnectEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplaydisconnect", listener, options);
    }

    default void addVRDisplayDisconnectEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplaydisconnect", listener, options);
    }

    default void addVRDisplayDisconnectEventListener(EventListener listener) {
        addEventListener("vrdisplaydisconnect", listener);
    }

    default void removeVRDisplayDisconnectEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplaydisconnect", listener, options);
    }

    default void removeVRDisplayDisconnectEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplaydisconnect", listener, options);
    }

    default void removeVRDisplayDisconnectEventListener(EventListener listener) {
        removeEventListener("vrdisplaydisconnect", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplayfocus();

    @JSProperty
    void setOnvrdisplayfocus(EventListener onvrdisplayfocus);

    default void addVRDisplayFocusEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplayfocus", listener, options);
    }

    default void addVRDisplayFocusEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplayfocus", listener, options);
    }

    default void addVRDisplayFocusEventListener(EventListener listener) {
        addEventListener("vrdisplayfocus", listener);
    }

    default void removeVRDisplayFocusEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplayfocus", listener, options);
    }

    default void removeVRDisplayFocusEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplayfocus", listener, options);
    }

    default void removeVRDisplayFocusEventListener(EventListener listener) {
        removeEventListener("vrdisplayfocus", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplaypointerrestricted();

    @JSProperty
    void setOnvrdisplaypointerrestricted(EventListener onvrdisplaypointerrestricted);

    default void addVRDisplayPointerRestrictedEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplaypointerrestricted", listener, options);
    }

    default void addVRDisplayPointerRestrictedEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplaypointerrestricted", listener, options);
    }

    default void addVRDisplayPointerRestrictedEventListener(EventListener listener) {
        addEventListener("vrdisplaypointerrestricted", listener);
    }

    default void removeVRDisplayPointerRestrictedEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplaypointerrestricted", listener, options);
    }

    default void removeVRDisplayPointerRestrictedEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplaypointerrestricted", listener, options);
    }

    default void removeVRDisplayPointerRestrictedEventListener(EventListener listener) {
        removeEventListener("vrdisplaypointerrestricted", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplaypointerunrestricted();

    @JSProperty
    void setOnvrdisplaypointerunrestricted(EventListener onvrdisplaypointerunrestricted);

    default void addVRDisplayPointerUnrestrictedEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplaypointerunrestricted", listener, options);
    }

    default void addVRDisplayPointerUnrestrictedEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplaypointerunrestricted", listener, options);
    }

    default void addVRDisplayPointerUnrestrictedEventListener(EventListener listener) {
        addEventListener("vrdisplaypointerunrestricted", listener);
    }

    default void removeVRDisplayPointerUnrestrictedEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplaypointerunrestricted", listener, options);
    }

    default void removeVRDisplayPointerUnrestrictedEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplaypointerunrestricted", listener, options);
    }

    default void removeVRDisplayPointerUnrestrictedEventListener(EventListener listener) {
        removeEventListener("vrdisplaypointerunrestricted", listener);
    }

    @JSProperty
    @Nullable
    EventListener getOnvrdisplaypresentchange();

    @JSProperty
    void setOnvrdisplaypresentchange(EventListener onvrdisplaypresentchange);

    default void addVRDisplayPresentChangeEventListener(EventListener listener, AddEventListenerOptions options) {
        addEventListener("vrdisplaypresentchange", listener, options);
    }

    default void addVRDisplayPresentChangeEventListener(EventListener listener, boolean options) {
        addEventListener("vrdisplaypresentchange", listener, options);
    }

    default void addVRDisplayPresentChangeEventListener(EventListener listener) {
        addEventListener("vrdisplaypresentchange", listener);
    }

    default void removeVRDisplayPresentChangeEventListener(EventListener listener, EventListenerOptions options) {
        removeEventListener("vrdisplaypresentchange", listener, options);
    }

    default void removeVRDisplayPresentChangeEventListener(EventListener listener, boolean options) {
        removeEventListener("vrdisplaypresentchange", listener, options);
    }

    default void removeVRDisplayPresentChangeEventListener(EventListener listener) {
        removeEventListener("vrdisplaypresentchange", listener);
    }

    @JSProperty
    Unknown getOpener();

    @JSProperty
    void setOpener(Any opener);

    @Deprecated
    @JSProperty
    Unknown getOrientation();

    @JSProperty
    double getOuterHeight();

    @JSProperty
    double getOuterWidth();

    @JSProperty
    double getPageXOffset();

    @JSProperty
    double getPageYOffset();

    @JSProperty
    Window getParent();

    @JSProperty
    Performance getPerformance();

    @JSProperty
    BarProp getPersonalbar();

    @JSProperty
    Screen getScreen();

    @JSProperty
    double getScreenLeft();

    @JSProperty
    double getScreenTop();

    @JSProperty
    double getScreenX();

    @JSProperty
    double getScreenY();

    @JSProperty
    double getScrollX();

    @JSProperty
    double getScrollY();

    @JSProperty
    BarProp getScrollbars();

    @JSProperty
    Window getSelf();

    @JSProperty
    SpeechSynthesis getSpeechSynthesis();

    @JSProperty
    String getStatus();

    @JSProperty
    void setStatus(String status);

    @JSProperty
    BarProp getStatusbar();

    @JSProperty
    StyleMedia getStyleMedia();

    @JSProperty
    BarProp getToolbar();

    @JSProperty
    Window getTop();

    @JSProperty
    Window getWindow();

    void alert(Any message);

    void alert();

    void blur();

    @Deprecated
    void captureEvents();

    void close();

    boolean confirm(String message);

    boolean confirm();

    void departFocus(NavigationReason navigationReason, FocusNavigationOrigin origin);

    void focus();

    CSSStyleDeclaration getComputedStyle(Element elt, @Nullable String pseudoElt);

    CSSStyleDeclaration getComputedStyle(Element elt);

    CSSRuleList getMatchedCSSRules(Element elt, @Nullable String pseudoElt);

    CSSRuleList getMatchedCSSRules(Element elt);

    @Nullable
    Selection getSelection();

    MediaQueryList matchMedia(String query);

    void moveBy(double x, double y);

    void moveTo(double x, double y);

    void msWriteProfilerMark(String profilerMarkName);

    @Nullable
    Window open(String url, String target, String features, boolean replace);

    Window open(String url, String target, String features);

    Window open(String url, String target);

    Window open(String url);

    Window open();

    void postMessage(Any message, String targetOrigin, Transferable... transfer);

    void postMessage(Any message, String targetOrigin, Array transfer);

    void postMessage(Any message, String targetOrigin);

    void print();

    @Nullable
    String prompt(String message, String _default);

    @Nullable
    String prompt(String message);

    @Nullable
    String prompt();

    @Deprecated
    void releaseEvents();

    void resizeBy(double x, double y);

    void resizeTo(double x, double y);

    void scroll(ScrollToOptions options);

    void scroll();

    void scroll(double x, double y);

    void scrollBy(ScrollToOptions options);

    void scrollBy();

    void scrollBy(double x, double y);

    void scrollTo(ScrollToOptions options);

    void scrollTo();

    void scrollTo(double x, double y);

    void stop();

    void webkitCancelAnimationFrame(int handle);

    WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint pt);

    WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint pt);

    AnimationFrameHandle webkitRequestAnimationFrame(JsDoubleConsumer callback);

    @JSIndexer
    Window get(int index);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy