public class DOMApplicationCache extends java.lang.Object implements EventTarget
Modifier and Type | Class and Description |
---|---|
static interface |
DOMApplicationCache.OncachedCallbackFn |
static interface |
DOMApplicationCache.OncheckingCallbackFn |
static interface |
DOMApplicationCache.OndownloadingCallbackFn |
static interface |
DOMApplicationCache.OnerrorCallbackFn |
static interface |
DOMApplicationCache.OnnoupdateCallbackFn |
static interface |
DOMApplicationCache.OnprogressCallbackFn |
static interface |
DOMApplicationCache.OnupdatereadyCallbackFn |
EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerOptionsUnionType
Modifier and Type | Field and Description |
---|---|
double |
CHECKING |
double |
DOWNLOADING |
double |
IDLE |
double |
OBSOLETE |
DOMApplicationCache.OncachedCallbackFn |
oncached |
DOMApplicationCache.OncheckingCallbackFn |
onchecking |
DOMApplicationCache.OndownloadingCallbackFn |
ondownloading |
DOMApplicationCache.OnerrorCallbackFn |
onerror |
DOMApplicationCache.OnnoupdateCallbackFn |
onnoupdate |
DOMApplicationCache.OnprogressCallbackFn |
onprogress |
DOMApplicationCache.OnupdatereadyCallbackFn |
onupdateready |
double |
status |
double |
UNCACHED |
double |
UPDATEREADY |
Constructor and Description |
---|
DOMApplicationCache() |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(java.lang.String type,
EventListener listener) |
void |
addEventListener(java.lang.String type,
EventListener listener,
EventTarget.AddEventListenerOptionsUnionType options) |
boolean |
dispatchEvent(Event evt) |
void |
removeEventListener(java.lang.String type,
EventListener listener) |
void |
removeEventListener(java.lang.String type,
EventListener listener,
EventTarget.RemoveEventListenerOptionsUnionType options) |
void |
swapCache() |
void |
update() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEventListener, addEventListener, removeEventListener, removeEventListener
public double CHECKING
public double DOWNLOADING
public double IDLE
public double OBSOLETE
public double UNCACHED
public double UPDATEREADY
public DOMApplicationCache.OncachedCallbackFn oncached
public DOMApplicationCache.OncheckingCallbackFn onchecking
public DOMApplicationCache.OndownloadingCallbackFn ondownloading
public DOMApplicationCache.OnerrorCallbackFn onerror
public DOMApplicationCache.OnnoupdateCallbackFn onnoupdate
public DOMApplicationCache.OnprogressCallbackFn onprogress
public DOMApplicationCache.OnupdatereadyCallbackFn onupdateready
public double status
public void addEventListener(java.lang.String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options)
addEventListener
in interface EventTarget
public void addEventListener(java.lang.String type, EventListener listener)
addEventListener
in interface EventTarget
public boolean dispatchEvent(Event evt)
dispatchEvent
in interface EventTarget
public void removeEventListener(java.lang.String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options)
removeEventListener
in interface EventTarget
public void removeEventListener(java.lang.String type, EventListener listener)
removeEventListener
in interface EventTarget
public void swapCache()
public void update()