net.java.html.lib.knockout.KnockoutBindingContext Maven / Gradle / Ivy
package net.java.html.lib.knockout;
public class KnockoutBindingContext extends net.java.html.lib.Objs {
protected KnockoutBindingContext(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(KnockoutBindingContext.class);
}
@Override
public KnockoutBindingContext create(java.lang.Object obj) {
return obj == null ? null : new KnockoutBindingContext(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static KnockoutBindingContext $as(java.lang.Object obj) {
return $AS.create(obj);
}
public net.java.html.lib.Objs.Property $parent = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$parent");
public net.java.html.lib.Objs.Property $parents = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Array.class, "$parents");
public net.java.html.lib.Objs.Property $root = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$root");
public net.java.html.lib.Objs.Property $data = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$data");
public net.java.html.lib.Objs.Property>> $rawData = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Union.A2.class, "$rawData");
public net.java.html.lib.Objs.Property> $index = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.knockout.KnockoutObservable.class, "$index");
public void $index(net.java.html.lib.Objs value) {
$Typings$.$index$5($js(this), /* FirstTypeNode*/$js(value));
}
public net.java.html.lib.Objs $index() {
return (net.java.html.lib.Objs)net.java.html.lib.Objs.$as($Typings$.$index$6($js(this)));
}
public net.java.html.lib.Objs.Property $parentContext = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.knockout.KnockoutBindingContext.class, "$parentContext");
public net.java.html.lib.knockout.KnockoutBindingContext $parentContext() { return $parentContext.get(); }
public net.java.html.lib.Objs.Property $component = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$component");
public net.java.html.lib.Objs.Property $componentTemplateNodes = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Array.class, "$componentTemplateNodes");
public net.java.html.lib.dom.Node[] $componentTemplateNodes() { return $componentTemplateNodes.get(); }
public java.lang.Object createChildContext(java.lang.Object dataItemOrAccessor, java.lang.Object dataItemAlias, net.java.html.lib.Function extendCallback) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.createChildContext$7($js(this), /* AnyKeyword*/$js(dataItemOrAccessor), /* AnyKeyword*/$js(dataItemAlias), /* FirstTypeNode*/$js(extendCallback)));
}
public java.lang.Object createChildContext(java.lang.Object dataItemOrAccessor) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.createChildContext$8($js(this), /* AnyKeyword*/$js(dataItemOrAccessor)));
}
public java.lang.Object createChildContext(java.lang.Object dataItemOrAccessor, java.lang.Object dataItemAlias) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.createChildContext$9($js(this), /* AnyKeyword*/$js(dataItemOrAccessor), /* AnyKeyword*/$js(dataItemAlias)));
}
public java.lang.Object extend(java.lang.Object properties) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.extend$10($js(this), /* AnyKeyword*/$js(properties)));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy