
net.java.html.lib.node.domain.Domain Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.domain;
public class Domain extends net.java.html.lib.node.events.EventEmitter {
protected Domain(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(Domain.class);
}
@Override
public Domain create(java.lang.Object obj) {
return obj == null ? null : new Domain(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static Domain $as(java.lang.Object obj) {
return $AS.create(obj);
}
public void run(net.java.html.lib.Function fn) {
$Typings$.run$8($js(this), /* FirstTypeNode*/$js(fn));
}
public void add(net.java.html.lib.node.NodeJS.EventEmitter emitter) {
$Typings$.add$9($js(this), /* FirstTypeNode*/$js(emitter));
}
public void remove(net.java.html.lib.node.NodeJS.EventEmitter emitter) {
$Typings$.remove$10($js(this), /* FirstTypeNode*/$js(emitter));
}
public java.lang.Object bind(net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super java.lang.Object,? extends java.lang.Object> cb) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.bind$11($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(cb, new Class[] {net.java.html.lib.Error.class, java.lang.Object.class}))));
}
public java.lang.Object intercept(net.java.html.lib.Function.A1 super java.lang.Object,? extends java.lang.Object> cb) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.intercept$12($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(cb, new Class[] {java.lang.Object.class}))));
}
public void dispose() {
$Typings$.dispose$13($js(this));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy