
def.dom.IDBDatabase Maven / Gradle / Ivy
The newest version!
package def.dom;
import jsweet.util.StringTypes;
import jsweet.util.StringTypes.abort;
import jsweet.util.StringTypes.error;
public class IDBDatabase extends EventTarget {
public java.lang.String name;
public DOMStringList objectStoreNames;
public java.util.function.Function onabort;
public java.util.function.Function onerror;
public java.lang.String version;
native public void close();
native public IDBObjectStore createObjectStore(java.lang.String name, java.lang.Object optionalParameters);
native public void deleteObjectStore(java.lang.String name);
native public IDBTransaction transaction(java.lang.Object storeNames, java.lang.String mode);
native public void addEventListener(jsweet.util.StringTypes.abort type, java.util.function.Function listener, java.lang.Boolean useCapture);
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);
public static IDBDatabase prototype;
public IDBDatabase(){}
native public IDBObjectStore createObjectStore(java.lang.String name);
native public IDBTransaction transaction(java.lang.Object storeNames);
native public void addEventListener(jsweet.util.StringTypes.abort type, java.util.function.Function listener);
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