Class ApplicationCache
java.lang.Object
elemental2.dom.ApplicationCache
- All Implemented Interfaces:
EventTarget
@JsType(isNative=true,
namespace="<global>")
public class ApplicationCache
extends Object
implements EventTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventListener
(String type, EventListener listener) void
addEventListener
(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) boolean
dispatchEvent
(Event evt) void
removeEventListener
(String type, EventListener listener) void
removeEventListener
(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) void
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 Details
-
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
-
onchecking
-
ondownloading
-
onerror
-
onnoupdate
-
onprogress
-
onupdateready
-
status
public int status
-
-
Constructor Details
-
ApplicationCache
public ApplicationCache()
-
-
Method Details
-
addEventListener
public void addEventListener(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) - Specified by:
addEventListener
in interfaceEventTarget
-
addEventListener
- Specified by:
addEventListener
in interfaceEventTarget
-
dispatchEvent
- Specified by:
dispatchEvent
in interfaceEventTarget
-
removeEventListener
public void removeEventListener(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) - Specified by:
removeEventListener
in interfaceEventTarget
-
removeEventListener
- Specified by:
removeEventListener
in interfaceEventTarget
-
swapCache
public void swapCache() -
update
public void update()
-