Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
js.web.dom.WindowEventHandlers Maven / Gradle / Ivy
package js.web.dom;
import js.web.channelmessaging.MessageEvent;
import js.web.history.PopStateEvent;
import js.web.webstorage.StorageEvent;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
/**
* Created by Artem Godin on 1/23/2020.
*/
public interface WindowEventHandlers extends EventTarget {
@JSProperty
@Nullable
EventListener getOnafterprint();
@JSProperty
void setOnafterprint(EventListener onafterprint);
default void addAfterPrintEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("afterprint", listener, options);
}
default void addAfterPrintEventListener(EventListener listener, boolean options) {
addEventListener("afterprint", listener, options);
}
default void addAfterPrintEventListener(EventListener listener) {
addEventListener("afterprint", listener);
}
default void removeAfterPrintEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("afterprint", listener, options);
}
default void removeAfterPrintEventListener(EventListener listener, boolean options) {
removeEventListener("afterprint", listener, options);
}
default void removeAfterPrintEventListener(EventListener listener) {
removeEventListener("afterprint", listener);
}
@JSProperty
@Nullable
EventListener getOnbeforeprint();
@JSProperty
void setOnbeforeprint(EventListener onbeforeprint);
default void addBeforePrintEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("beforeprint", listener, options);
}
default void addBeforePrintEventListener(EventListener listener, boolean options) {
addEventListener("beforeprint", listener, options);
}
default void addBeforePrintEventListener(EventListener listener) {
addEventListener("beforeprint", listener);
}
default void removeBeforePrintEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("beforeprint", listener, options);
}
default void removeBeforePrintEventListener(EventListener listener, boolean options) {
removeEventListener("beforeprint", listener, options);
}
default void removeBeforePrintEventListener(EventListener listener) {
removeEventListener("beforeprint", listener);
}
@JSProperty
@Nullable
EventListener getOnbeforeunload();
@JSProperty
void setOnbeforeunload(EventListener onbeforeunload);
default void addBeforeUnloadEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("beforeunload", listener, options);
}
default void addBeforeUnloadEventListener(EventListener listener, boolean options) {
addEventListener("beforeunload", listener, options);
}
default void addBeforeUnloadEventListener(EventListener listener) {
addEventListener("beforeunload", listener);
}
default void removeBeforeUnloadEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("beforeunload", listener, options);
}
default void removeBeforeUnloadEventListener(EventListener listener, boolean options) {
removeEventListener("beforeunload", listener, options);
}
default void removeBeforeUnloadEventListener(EventListener listener) {
removeEventListener("beforeunload", listener);
}
@JSProperty
@Nullable
EventListener getOnhashchange();
@JSProperty
void setOnhashchange(EventListener onhashchange);
default void addHashChangeEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("hashchange", listener, options);
}
default void addHashChangeEventListener(EventListener listener, boolean options) {
addEventListener("hashchange", listener, options);
}
default void addHashChangeEventListener(EventListener listener) {
addEventListener("hashchange", listener);
}
default void removeHashChangeEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("hashchange", listener, options);
}
default void removeHashChangeEventListener(EventListener listener, boolean options) {
removeEventListener("hashchange", listener, options);
}
default void removeHashChangeEventListener(EventListener listener) {
removeEventListener("hashchange", listener);
}
@JSProperty
@Nullable
EventListener getOnlanguagechange();
@JSProperty
void setOnlanguagechange(EventListener onlanguagechange);
default void addLanguageChangeEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("languagechange", listener, options);
}
default void addLanguageChangeEventListener(EventListener listener, boolean options) {
addEventListener("languagechange", listener, options);
}
default void addLanguageChangeEventListener(EventListener listener) {
addEventListener("languagechange", listener);
}
default void removeLanguageChangeEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("languagechange", listener, options);
}
default void removeLanguageChangeEventListener(EventListener listener, boolean options) {
removeEventListener("languagechange", listener, options);
}
default void removeLanguageChangeEventListener(EventListener listener) {
removeEventListener("languagechange", listener);
}
@JSProperty
@Nullable
EventListener getOnmessage();
@JSProperty
void setOnmessage(EventListener onmessage);
default void addMessageEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("message", listener, options);
}
default void addMessageEventListener(EventListener listener, boolean options) {
addEventListener("message", listener, options);
}
default void addMessageEventListener(EventListener listener) {
addEventListener("message", listener);
}
default void removeMessageEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("message", listener, options);
}
default void removeMessageEventListener(EventListener listener, boolean options) {
removeEventListener("message", listener, options);
}
default void removeMessageEventListener(EventListener listener) {
removeEventListener("message", listener);
}
@JSProperty
@Nullable
EventListener getOnmessageerror();
@JSProperty
void setOnmessageerror(EventListener onmessageerror);
default void addMessageErrorEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("messageerror", listener, options);
}
default void addMessageErrorEventListener(EventListener listener, boolean options) {
addEventListener("messageerror", listener, options);
}
default void addMessageErrorEventListener(EventListener listener) {
addEventListener("messageerror", listener);
}
default void removeMessageErrorEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("messageerror", listener, options);
}
default void removeMessageErrorEventListener(EventListener listener, boolean options) {
removeEventListener("messageerror", listener, options);
}
default void removeMessageErrorEventListener(EventListener listener) {
removeEventListener("messageerror", listener);
}
@JSProperty
@Nullable
EventListener getOnoffline();
@JSProperty
void setOnoffline(EventListener onoffline);
default void addOfflineEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("offline", listener, options);
}
default void addOfflineEventListener(EventListener listener, boolean options) {
addEventListener("offline", listener, options);
}
default void addOfflineEventListener(EventListener listener) {
addEventListener("offline", listener);
}
default void removeOfflineEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("offline", listener, options);
}
default void removeOfflineEventListener(EventListener listener, boolean options) {
removeEventListener("offline", listener, options);
}
default void removeOfflineEventListener(EventListener listener) {
removeEventListener("offline", listener);
}
@JSProperty
@Nullable
EventListener getOnonline();
@JSProperty
void setOnonline(EventListener ononline);
default void addOnlineEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("online", listener, options);
}
default void addOnlineEventListener(EventListener listener, boolean options) {
addEventListener("online", listener, options);
}
default void addOnlineEventListener(EventListener listener) {
addEventListener("online", listener);
}
default void removeOnlineEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("online", listener, options);
}
default void removeOnlineEventListener(EventListener listener, boolean options) {
removeEventListener("online", listener, options);
}
default void removeOnlineEventListener(EventListener listener) {
removeEventListener("online", listener);
}
@JSProperty
@Nullable
EventListener getOnpagehide();
@JSProperty
void setOnpagehide(EventListener onpagehide);
default void addPageHideEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("pagehide", listener, options);
}
default void addPageHideEventListener(EventListener listener, boolean options) {
addEventListener("pagehide", listener, options);
}
default void addPageHideEventListener(EventListener listener) {
addEventListener("pagehide", listener);
}
default void removePageHideEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("pagehide", listener, options);
}
default void removePageHideEventListener(EventListener listener, boolean options) {
removeEventListener("pagehide", listener, options);
}
default void removePageHideEventListener(EventListener listener) {
removeEventListener("pagehide", listener);
}
@JSProperty
@Nullable
EventListener getOnpageshow();
@JSProperty
void setOnpageshow(EventListener onpageshow);
default void addPageShowEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("pageshow", listener, options);
}
default void addPageShowEventListener(EventListener listener, boolean options) {
addEventListener("pageshow", listener, options);
}
default void addPageShowEventListener(EventListener listener) {
addEventListener("pageshow", listener);
}
default void removePageShowEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("pageshow", listener, options);
}
default void removePageShowEventListener(EventListener listener, boolean options) {
removeEventListener("pageshow", listener, options);
}
default void removePageShowEventListener(EventListener listener) {
removeEventListener("pageshow", listener);
}
@JSProperty
@Nullable
EventListener getOnpopstate();
@JSProperty
void setOnpopstate(EventListener onpopstate);
default void addPopStateEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("popstate", listener, options);
}
default void addPopStateEventListener(EventListener listener, boolean options) {
addEventListener("popstate", listener, options);
}
default void addPopStateEventListener(EventListener listener) {
addEventListener("popstate", listener);
}
default void removePopStateEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("popstate", listener, options);
}
default void removePopStateEventListener(EventListener listener, boolean options) {
removeEventListener("popstate", listener, options);
}
default void removePopStateEventListener(EventListener listener) {
removeEventListener("popstate", listener);
}
@JSProperty
@Nullable
EventListener getOnrejectionhandled();
@JSProperty
void setOnrejectionhandled(EventListener onrejectionhandled);
default void addRejectionHandledEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("rejectionhandled", listener, options);
}
default void addRejectionHandledEventListener(EventListener listener, boolean options) {
addEventListener("rejectionhandled", listener, options);
}
default void addRejectionHandledEventListener(EventListener listener) {
addEventListener("rejectionhandled", listener);
}
default void removeRejectionHandledEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("rejectionhandled", listener, options);
}
default void removeRejectionHandledEventListener(EventListener listener, boolean options) {
removeEventListener("rejectionhandled", listener, options);
}
default void removeRejectionHandledEventListener(EventListener listener) {
removeEventListener("rejectionhandled", listener);
}
@JSProperty
@Nullable
EventListener getOnstorage();
@JSProperty
void setOnstorage(EventListener onstorage);
default void addStorageEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("storage", listener, options);
}
default void addStorageEventListener(EventListener listener, boolean options) {
addEventListener("storage", listener, options);
}
default void addStorageEventListener(EventListener listener) {
addEventListener("storage", listener);
}
default void removeStorageEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("storage", listener, options);
}
default void removeStorageEventListener(EventListener listener, boolean options) {
removeEventListener("storage", listener, options);
}
default void removeStorageEventListener(EventListener listener) {
removeEventListener("storage", listener);
}
@JSProperty
@Nullable
EventListener getOnunhandledrejection();
@JSProperty
void setOnunhandledrejection(EventListener onunhandledrejection);
default void addUnhandledRejectionEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("unhandledrejection", listener, options);
}
default void addUnhandledRejectionEventListener(EventListener listener, boolean options) {
addEventListener("unhandledrejection", listener, options);
}
default void addUnhandledRejectionEventListener(EventListener listener) {
addEventListener("unhandledrejection", listener);
}
default void removeUnhandledRejectionEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("unhandledrejection", listener, options);
}
default void removeUnhandledRejectionEventListener(EventListener listener, boolean options) {
removeEventListener("unhandledrejection", listener, options);
}
default void removeUnhandledRejectionEventListener(EventListener listener) {
removeEventListener("unhandledrejection", listener);
}
@JSProperty
@Nullable
EventListener getOnunload();
@JSProperty
void setOnunload(EventListener onunload);
default void addUnloadEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("unload", listener, options);
}
default void addUnloadEventListener(EventListener listener, boolean options) {
addEventListener("unload", listener, options);
}
default void addUnloadEventListener(EventListener listener) {
addEventListener("unload", listener);
}
default void removeUnloadEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("unload", listener, options);
}
default void removeUnloadEventListener(EventListener listener, boolean options) {
removeEventListener("unload", listener, options);
}
default void removeUnloadEventListener(EventListener listener) {
removeEventListener("unload", listener);
}
}