All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.knockout.KnockoutObservable Maven / Gradle / Ivy

There is a newer version: 0.5
Show newest version
package net.java.html.lib.knockout;
public class KnockoutObservable extends KnockoutSubscribable {
  protected KnockoutObservable(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(KnockoutObservable.class);
    }
    @Override
    public KnockoutObservable create(java.lang.Object obj) {
      return obj == null ? null : new KnockoutObservable(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static KnockoutObservable $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public T $apply() {
    return (T)$Typings$.$apply$49($js(this));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[]}
  public void $apply(T value) {
    $Typings$.$apply$50($js(this), /* FirstTypeNode*/$js(value));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"VoidKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"value","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[]}
  public net.java.html.lib.Objs.Property valueHasMutated = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "valueHasMutated");
  public /* Unknown CallSignature*/java.lang.Object valueHasMutated() {
    return $Typings$.valueHasMutated$51($js(this));
  }
  public net.java.html.lib.Objs.Property valueWillMutate = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Objs.class, "valueWillMutate");
  public /* Unknown CallSignature*/java.lang.Object valueWillMutate() {
    return $Typings$.valueWillMutate$52($js(this));
  }
  public KnockoutObservable extend(net.java.html.lib.Objs requestedExtenders) {
    return (KnockoutObservable)net.java.html.lib.knockout.KnockoutObservable.$as($Typings$.extend$53($js(this), /* TypeLiteral*/$js(requestedExtenders)));
  }
  public T peek() {
    return (T)$Typings$.peek$54($js(this));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy