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.ApplicationCache Maven / Gradle / Ivy
package js.web.dom;
import js.extras.JsEnum;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
@Deprecated
public interface ApplicationCache extends EventTarget {
@JSBody(script = "return ApplicationCache.prototype")
static ApplicationCache prototype() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
@JSBody(script = "return new ApplicationCache()")
static ApplicationCache create() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
@Deprecated
@JSProperty
@Nullable
EventListener getOncached();
@Deprecated
@JSProperty
void setOncached(EventListener oncached);
@Deprecated
default void addCachedEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("cached", listener, options);
}
@Deprecated
default void addCachedEventListener(EventListener listener, boolean options) {
addEventListener("cached", listener, options);
}
@Deprecated
default void addCachedEventListener(EventListener listener) {
addEventListener("cached", listener);
}
@Deprecated
default void removeCachedEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("cached", listener, options);
}
@Deprecated
default void removeCachedEventListener(EventListener listener, boolean options) {
removeEventListener("cached", listener, options);
}
@Deprecated
default void removeCachedEventListener(EventListener listener) {
removeEventListener("cached", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOnchecking();
@Deprecated
@JSProperty
void setOnchecking(EventListener onchecking);
@Deprecated
default void addCheckingEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("checking", listener, options);
}
@Deprecated
default void addCheckingEventListener(EventListener listener, boolean options) {
addEventListener("checking", listener, options);
}
@Deprecated
default void addCheckingEventListener(EventListener listener) {
addEventListener("checking", listener);
}
@Deprecated
default void removeCheckingEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("checking", listener, options);
}
@Deprecated
default void removeCheckingEventListener(EventListener listener, boolean options) {
removeEventListener("checking", listener, options);
}
@Deprecated
default void removeCheckingEventListener(EventListener listener) {
removeEventListener("checking", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOndownloading();
@Deprecated
@JSProperty
void setOndownloading(EventListener ondownloading);
@Deprecated
default void addDownloadingEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("downloading", listener, options);
}
@Deprecated
default void addDownloadingEventListener(EventListener listener, boolean options) {
addEventListener("downloading", listener, options);
}
@Deprecated
default void addDownloadingEventListener(EventListener listener) {
addEventListener("downloading", listener);
}
@Deprecated
default void removeDownloadingEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("downloading", listener, options);
}
@Deprecated
default void removeDownloadingEventListener(EventListener listener, boolean options) {
removeEventListener("downloading", listener, options);
}
@Deprecated
default void removeDownloadingEventListener(EventListener listener) {
removeEventListener("downloading", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOnerror();
@Deprecated
@JSProperty
void setOnerror(EventListener onerror);
@Deprecated
default void addErrorEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("error", listener, options);
}
@Deprecated
default void addErrorEventListener(EventListener listener, boolean options) {
addEventListener("error", listener, options);
}
@Deprecated
default void addErrorEventListener(EventListener listener) {
addEventListener("error", listener);
}
@Deprecated
default void removeErrorEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("error", listener, options);
}
@Deprecated
default void removeErrorEventListener(EventListener listener, boolean options) {
removeEventListener("error", listener, options);
}
@Deprecated
default void removeErrorEventListener(EventListener listener) {
removeEventListener("error", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOnnoupdate();
@Deprecated
@JSProperty
void setOnnoupdate(EventListener onnoupdate);
@Deprecated
default void addNoUpdateEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("noupdate", listener, options);
}
@Deprecated
default void addNoUpdateEventListener(EventListener listener, boolean options) {
addEventListener("noupdate", listener, options);
}
@Deprecated
default void addNoUpdateEventListener(EventListener listener) {
addEventListener("noupdate", listener);
}
@Deprecated
default void removeNoUpdateEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("noupdate", listener, options);
}
@Deprecated
default void removeNoUpdateEventListener(EventListener listener, boolean options) {
removeEventListener("noupdate", listener, options);
}
@Deprecated
default void removeNoUpdateEventListener(EventListener listener) {
removeEventListener("noupdate", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOnobsolete();
@Deprecated
@JSProperty
void setOnobsolete(EventListener onobsolete);
@Deprecated
default void addObsoleteEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("obsolete", listener, options);
}
@Deprecated
default void addObsoleteEventListener(EventListener listener, boolean options) {
addEventListener("obsolete", listener, options);
}
@Deprecated
default void addObsoleteEventListener(EventListener listener) {
addEventListener("obsolete", listener);
}
@Deprecated
default void removeObsoleteEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("obsolete", listener, options);
}
@Deprecated
default void removeObsoleteEventListener(EventListener listener, boolean options) {
removeEventListener("obsolete", listener, options);
}
@Deprecated
default void removeObsoleteEventListener(EventListener listener) {
removeEventListener("obsolete", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener> getOnprogress();
@Deprecated
@JSProperty
void setOnprogress(EventListener> onprogress);
@Deprecated
default void addProgressEventListener(EventListener> listener, AddEventListenerOptions options) {
addEventListener("progress", listener, options);
}
@Deprecated
default void addProgressEventListener(EventListener> listener, boolean options) {
addEventListener("progress", listener, options);
}
@Deprecated
default void addProgressEventListener(EventListener> listener) {
addEventListener("progress", listener);
}
@Deprecated
default void removeProgressEventListener(EventListener> listener, EventListenerOptions options) {
removeEventListener("progress", listener, options);
}
@Deprecated
default void removeProgressEventListener(EventListener> listener, boolean options) {
removeEventListener("progress", listener, options);
}
@Deprecated
default void removeProgressEventListener(EventListener> listener) {
removeEventListener("progress", listener);
}
@Deprecated
@JSProperty
@Nullable
EventListener getOnupdateready();
@Deprecated
@JSProperty
void setOnupdateready(EventListener onupdateready);
@Deprecated
default void addUpdateReadyEventListener(EventListener listener, AddEventListenerOptions options) {
addEventListener("updateready", listener, options);
}
@Deprecated
default void addUpdateReadyEventListener(EventListener listener, boolean options) {
addEventListener("updateready", listener, options);
}
@Deprecated
default void addUpdateReadyEventListener(EventListener listener) {
addEventListener("updateready", listener);
}
@Deprecated
default void removeUpdateReadyEventListener(EventListener listener, EventListenerOptions options) {
removeEventListener("updateready", listener, options);
}
@Deprecated
default void removeUpdateReadyEventListener(EventListener listener, boolean options) {
removeEventListener("updateready", listener, options);
}
@Deprecated
default void removeUpdateReadyEventListener(EventListener listener) {
removeEventListener("updateready", listener);
}
@Deprecated
@JSProperty
Status getStatus();
@Deprecated
void abort();
@Deprecated
void swapCache();
@Deprecated
void update();
abstract class Status extends JsEnum {
public static final Status CHECKING = JsEnum.from("ApplicationCache.CHECKING");
public static final Status DOWNLOADING = JsEnum.from("ApplicationCache.DOWNLOADING");
public static final Status IDLE = JsEnum.from("ApplicationCache.IDLE");
public static final Status OBSOLETE = JsEnum.from("ApplicationCache.OBSOLETE");
public static final Status UNCACHED = JsEnum.from("ApplicationCache.UNCACHED");
public static final Status UPDATEREADY = JsEnum.from("ApplicationCache.UPDATEREADY");
}
}