
net.java.html.lib.node.readline.ReadLineOptions Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.readline;
public class ReadLineOptions extends net.java.html.lib.Objs {
protected ReadLineOptions(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(ReadLineOptions.class);
}
@Override
public ReadLineOptions create(java.lang.Object obj) {
return obj == null ? null : new ReadLineOptions(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static ReadLineOptions $as(java.lang.Object obj) {
return $AS.create(obj);
}
public net.java.html.lib.Objs.Property input = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.node.NodeJS.ReadableStream.class, "input");
public net.java.html.lib.node.NodeJS.ReadableStream input() { return input.get(); }
public net.java.html.lib.Objs.Property output = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.node.NodeJS.WritableStream.class, "output");
public net.java.html.lib.node.NodeJS.WritableStream output() { return output.get(); }
public net.java.html.lib.Objs.Property completer = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.node.readline.Completer.class, "completer");
public java.lang.Object completer(java.lang.String line, net.java.html.lib.Function.A2 super java.lang.Object,? super net.java.html.lib.node.readline.CompleterResult,? extends java.lang.Void> callback) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.completer$23($js(this), line, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {java.lang.Object.class, net.java.html.lib.node.readline.CompleterResult.class}))));
}
public net.java.html.lib.node.readline.CompleterResult completer(java.lang.String line) {
return (net.java.html.lib.node.readline.CompleterResult)net.java.html.lib.node.readline.CompleterResult.$as($Typings$.completer$24($js(this), line));
}
public net.java.html.lib.Objs.Property terminal = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "terminal");
public java.lang.Boolean terminal() { return terminal.get(); }
public net.java.html.lib.Objs.Property historySize = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "historySize");
public java.lang.Number historySize() { return historySize.get(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy