All Downloads are FREE. Search and download functionalities are using the official Maven repository.

def.dom.AbstractWorker Maven / Gradle / Ivy

The newest version!
package def.dom;

import def.js.Object;
import jsweet.util.StringTypes;
import jsweet.util.StringTypes.error;

@jsweet.lang.Interface
public abstract class AbstractWorker extends def.js.Object {
    public java.util.function.Function onerror;
    native public void addEventListener(jsweet.util.StringTypes.error type, java.util.function.Function listener, java.lang.Boolean useCapture);
    native public void addEventListener(java.lang.String type, EventListener listener, java.lang.Boolean useCapture);
    native public void addEventListener(jsweet.util.StringTypes.error type, java.util.function.Function listener);
    native public void addEventListener(java.lang.String type, EventListener listener);
    native public void addEventListener(java.lang.String type, EventListenerObject listener, java.lang.Boolean useCapture);
    native public void addEventListener(java.lang.String type, EventListenerObject listener);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy