Package elemental2.dom
Class ApplicationCache
- java.lang.Object
-
- elemental2.dom.ApplicationCache
-
- All Implemented Interfaces:
EventTarget
@JsType(isNative=true, namespace="<global>") public class ApplicationCache extends java.lang.Object implements EventTarget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApplicationCache.OncachedFn
static interface
ApplicationCache.OncheckingFn
static interface
ApplicationCache.OndownloadingFn
static interface
ApplicationCache.OnerrorFn
static interface
ApplicationCache.OnnoupdateFn
static interface
ApplicationCache.OnprogressFn
static interface
ApplicationCache.OnupdatereadyFn
-
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHECKING
static int
DOWNLOADING
static int
IDLE
static int
OBSOLETE
ApplicationCache.OncachedFn
oncached
ApplicationCache.OncheckingFn
onchecking
ApplicationCache.OndownloadingFn
ondownloading
ApplicationCache.OnerrorFn
onerror
ApplicationCache.OnnoupdateFn
onnoupdate
ApplicationCache.OnprogressFn
onprogress
ApplicationCache.OnupdatereadyFn
onupdateready
int
status
static int
UNCACHED
static int
UPDATEREADY
-
Constructor Summary
Constructors Constructor Description ApplicationCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
-
-
-
Field Detail
-
CHECKING
@JsOverlay public static final int CHECKING
-
DOWNLOADING
@JsOverlay public static final int DOWNLOADING
-
IDLE
@JsOverlay public static final int IDLE
-
OBSOLETE
@JsOverlay public static final int OBSOLETE
-
UNCACHED
@JsOverlay public static final int UNCACHED
-
UPDATEREADY
@JsOverlay public static final int UPDATEREADY
-
oncached
public ApplicationCache.OncachedFn oncached
-
onchecking
public ApplicationCache.OncheckingFn onchecking
-
ondownloading
public ApplicationCache.OndownloadingFn ondownloading
-
onerror
public ApplicationCache.OnerrorFn onerror
-
onnoupdate
public ApplicationCache.OnnoupdateFn onnoupdate
-
onprogress
public ApplicationCache.OnprogressFn onprogress
-
onupdateready
public ApplicationCache.OnupdatereadyFn onupdateready
-
status
public int status
-
-
Method Detail
-
addEventListener
public void addEventListener(java.lang.String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options)
- Specified by:
addEventListener
in interfaceEventTarget
-
addEventListener
public void addEventListener(java.lang.String type, EventListener listener)
- Specified by:
addEventListener
in interfaceEventTarget
-
dispatchEvent
public boolean dispatchEvent(Event evt)
- Specified by:
dispatchEvent
in interfaceEventTarget
-
removeEventListener
public void removeEventListener(java.lang.String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options)
- Specified by:
removeEventListener
in interfaceEventTarget
-
removeEventListener
public void removeEventListener(java.lang.String type, EventListener listener)
- Specified by:
removeEventListener
in interfaceEventTarget
-
swapCache
public void swapCache()
-
update
public void update()
-
-