com.vaadin.polymer.platinum.widget.event.ServiceWorkerErrorEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from platinum-sw project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.platinum.widget.event;
import com.google.gwt.event.dom.client.DomEvent;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JavaScriptObject;
/**
* Fired when an error prevents the service worker installation from completing.
*/
public class ServiceWorkerErrorEvent extends DomEvent {
public static Type TYPE = new Type(
com.vaadin.polymer.platinum.event.ServiceWorkerErrorEvent.NAME, new ServiceWorkerErrorEvent());
public ServiceWorkerErrorEvent() {
}
public Type getAssociatedType() {
return TYPE;
}
protected void dispatch(ServiceWorkerErrorEventHandler handler) {
handler.onServiceWorkerError(this);
}
public com.vaadin.polymer.platinum.event.ServiceWorkerErrorEvent getPolymerEvent() {
return (com.vaadin.polymer.platinum.event.ServiceWorkerErrorEvent)super.getNativeEvent();
}
/**
* message indicating what went wrong.
*/
public String getA() {
return getPolymerEvent().getDetail().getA();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy