net.java.html.lib.angular.IRepeatScope Maven / Gradle / Ivy
package net.java.html.lib.angular;
public class IRepeatScope extends IScope {
protected IRepeatScope(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(IRepeatScope.class);
}
@Override
public IRepeatScope create(java.lang.Object obj) {
return obj == null ? null : new IRepeatScope(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IRepeatScope $as(java.lang.Object obj) {
return $AS.create(obj);
}
/**
* iterator offset of the repeated element (0..length-1).
*/
public net.java.html.lib.Objs.Property $index = net.java.html.lib.Objs.Property.create(this, java.lang.Number.class, "$index");
public java.lang.Number $index() { return $index.get(); }
/**
* true if the repeated element is first in the iterator.
*/
public net.java.html.lib.Objs.Property $first = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$first");
public java.lang.Boolean $first() { return $first.get(); }
/**
* true if the repeated element is between the first and last in the iterator.
*/
public net.java.html.lib.Objs.Property $middle = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$middle");
public java.lang.Boolean $middle() { return $middle.get(); }
/**
* true if the repeated element is last in the iterator.
*/
public net.java.html.lib.Objs.Property $last = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$last");
public java.lang.Boolean $last() { return $last.get(); }
/**
* true if the iterator position $index is even (otherwise false).
*/
public net.java.html.lib.Objs.Property $even = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$even");
public java.lang.Boolean $even() { return $even.get(); }
/**
* true if the iterator position $index is odd (otherwise false).
*/
public net.java.html.lib.Objs.Property $odd = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "$odd");
public java.lang.Boolean $odd() { return $odd.get(); }
}