net.java.html.lib.angular.ng.IFormController Maven / Gradle / Ivy
package net.java.html.lib.angular.ng;
public class IFormController extends net.java.html.lib.Objs {
protected IFormController(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(IFormController.class);
}
@Override
public IFormController create(java.lang.Object obj) {
return obj == null ? null : new IFormController(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IFormController $as(java.lang.Object obj) {
return $AS.create(obj);
}
/**
* Indexer which should return ng.INgModelController for most properties but cannot because of "All named properties must be assignable to string indexer type" constraint - see https://github.com/Microsoft/TypeScript/issues/272
*/
public java.lang.Object $get(java.lang.String name) {
return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.$get$267($js(this), name));
}
public net.java.html.lib.Objs.Property $pristine = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$pristine");
public java.lang.Boolean $pristine() { return $pristine.get(); }
public net.java.html.lib.Objs.Property $dirty = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$dirty");
public java.lang.Boolean $dirty() { return $dirty.get(); }
public net.java.html.lib.Objs.Property $valid = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$valid");
public java.lang.Boolean $valid() { return $valid.get(); }
public net.java.html.lib.Objs.Property $invalid = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$invalid");
public java.lang.Boolean $invalid() { return $invalid.get(); }
public net.java.html.lib.Objs.Property $submitted = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$submitted");
public java.lang.Boolean $submitted() { return $submitted.get(); }
public net.java.html.lib.Objs.Property $error = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$error");
public net.java.html.lib.Objs.Property $pending = net.java.html.lib.Objs.Property.create(this, java.lang.Object.class, "$pending");
// skipping MethodKey{name={"kind":"FirstTypeNode","text":"$get","right":[]}, parameters=[java.lang.String]}
public void $addControl(net.java.html.lib.angular.ng.INgModelController control) {
$Typings$.$addControl$269($js(this), /* FirstTypeNode*/$js(control));
}
public void $commitViewValue() {
$Typings$.$commitViewValue$270($js(this));
}
public void $removeControl(net.java.html.lib.angular.ng.INgModelController control) {
$Typings$.$removeControl$271($js(this), /* FirstTypeNode*/$js(control));
}
public void $rollbackViewValue() {
$Typings$.$rollbackViewValue$272($js(this));
}
public void $setDirty() {
$Typings$.$setDirty$273($js(this));
}
public void $setPristine() {
$Typings$.$setPristine$274($js(this));
}
public void $setSubmitted() {
$Typings$.$setSubmitted$275($js(this));
}
public void $setUntouched() {
$Typings$.$setUntouched$276($js(this));
}
public void $setValidity(java.lang.String validationErrorKey, java.lang.Boolean isValid, net.java.html.lib.angular.ng.INgModelController control) {
$Typings$.$setValidity$277($js(this), validationErrorKey, isValid, /* FirstTypeNode*/$js(control));
}
}