net.java.html.lib.angular.IFormController Maven / Gradle / Ivy
package net.java.html.lib.angular;
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 $Typings$.$get$187($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");
public void $addControl(INgModelController control) {
$Typings$.$addControl$188($js(this), /* FirstTypeNode*/$js(control));
}
public void $commitViewValue() {
$Typings$.$commitViewValue$189($js(this));
}
public void $removeControl(INgModelController control) {
$Typings$.$removeControl$190($js(this), /* FirstTypeNode*/$js(control));
}
public void $rollbackViewValue() {
$Typings$.$rollbackViewValue$191($js(this));
}
public void $setDirty() {
$Typings$.$setDirty$192($js(this));
}
public void $setPristine() {
$Typings$.$setPristine$193($js(this));
}
public void $setSubmitted() {
$Typings$.$setSubmitted$194($js(this));
}
public void $setUntouched() {
$Typings$.$setUntouched$195($js(this));
}
public void $setValidity(java.lang.String validationErrorKey, java.lang.Boolean isValid, INgModelController control) {
$Typings$.$setValidity$196($js(this), validationErrorKey, isValid, /* FirstTypeNode*/$js(control));
}
}