public class DOMApplicationCache extends java.lang.Object implements EventTarget
| Modifier and Type | Class and Description |
|---|---|
static interface |
DOMApplicationCache.OncachedFn |
static interface |
DOMApplicationCache.OncheckingFn |
static interface |
DOMApplicationCache.OndownloadingFn |
static interface |
DOMApplicationCache.OnerrorFn |
static interface |
DOMApplicationCache.OnnoupdateFn |
static interface |
DOMApplicationCache.OnprogressFn |
static interface |
DOMApplicationCache.OnupdatereadyFn |
EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerOptionsUnionType| Modifier and Type | Field and Description |
|---|---|
double |
CHECKING |
double |
DOWNLOADING |
double |
IDLE |
double |
OBSOLETE |
DOMApplicationCache.OncachedFn |
oncached |
DOMApplicationCache.OncheckingFn |
onchecking |
DOMApplicationCache.OndownloadingFn |
ondownloading |
DOMApplicationCache.OnerrorFn |
onerror |
DOMApplicationCache.OnnoupdateFn |
onnoupdate |
DOMApplicationCache.OnprogressFn |
onprogress |
DOMApplicationCache.OnupdatereadyFn |
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, waitaddEventListener, addEventListener, removeEventListener, removeEventListenerpublic double CHECKING
public double DOWNLOADING
public double IDLE
public double OBSOLETE
public double UNCACHED
public double UPDATEREADY
public DOMApplicationCache.OncachedFn oncached
public DOMApplicationCache.OncheckingFn onchecking
public DOMApplicationCache.OndownloadingFn ondownloading
public DOMApplicationCache.OnerrorFn onerror
public DOMApplicationCache.OnnoupdateFn onnoupdate
public DOMApplicationCache.OnprogressFn onprogress
public DOMApplicationCache.OnupdatereadyFn onupdateready
public double status
public void addEventListener(java.lang.String type,
EventListener listener,
EventTarget.AddEventListenerOptionsUnionType options)
addEventListener in interface EventTargetpublic void addEventListener(java.lang.String type,
EventListener listener)
addEventListener in interface EventTargetpublic boolean dispatchEvent(Event evt)
dispatchEvent in interface EventTargetpublic void removeEventListener(java.lang.String type,
EventListener listener,
EventTarget.RemoveEventListenerOptionsUnionType options)
removeEventListener in interface EventTargetpublic void removeEventListener(java.lang.String type,
EventListener listener)
removeEventListener in interface EventTargetpublic void swapCache()
public void update()