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

net.java.html.lib.jquery.JQueryPromise Maven / Gradle / Ivy

package net.java.html.lib.jquery;
public class JQueryPromise extends net.java.html.lib.jquery.JQueryGenericPromise {
  protected JQueryPromise(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(JQueryPromise.class);
    }
    @Override
    public JQueryPromise create(java.lang.Object obj) {
      return obj == null ? null : new JQueryPromise(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static JQueryPromise $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  /**
  * Add handlers to be called when the Deferred object is either resolved or rejected.
  *
  * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
  * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise always(net.java.html.lib.jquery.JQueryPromiseCallback alwaysCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> alwaysCallbacksN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.always$542($js(this), /* UnionType*/$js(alwaysCallback1), /* FirstTypeNode*/$js(alwaysCallbacksN)));
  }
  /**
  * Add handlers to be called when the Deferred object is either resolved or rejected.
  *
  * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
  * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise always(net.java.html.lib.jquery.JQueryPromiseCallback[] alwaysCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> alwaysCallbacksN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.always$542($js(this), /* UnionType*/$js(alwaysCallback1), /* FirstTypeNode*/$js(alwaysCallbacksN)));
  }
  /**
  * Add handlers to be called when the Deferred object is either resolved or rejected.
  *
  * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
  * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise always(net.java.html.lib.jquery.JQueryPromiseCallback alwaysCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.always$543($js(this), /* UnionType*/$js(alwaysCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object is either resolved or rejected.
  *
  * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected.
  * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise always(net.java.html.lib.jquery.JQueryPromiseCallback[] alwaysCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.always$543($js(this), /* UnionType*/$js(alwaysCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object is resolved.
  *
  * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
  * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
  */
  public net.java.html.lib.jquery.JQueryPromise done(net.java.html.lib.jquery.JQueryPromiseCallback doneCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> doneCallbackN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.done$544($js(this), /* UnionType*/$js(doneCallback1), /* FirstTypeNode*/$js(doneCallbackN)));
  }
  /**
  * Add handlers to be called when the Deferred object is resolved.
  *
  * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
  * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
  */
  public net.java.html.lib.jquery.JQueryPromise done(net.java.html.lib.jquery.JQueryPromiseCallback[] doneCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> doneCallbackN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.done$544($js(this), /* UnionType*/$js(doneCallback1), /* FirstTypeNode*/$js(doneCallbackN)));
  }
  /**
  * Add handlers to be called when the Deferred object is resolved.
  *
  * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
  * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
  */
  public net.java.html.lib.jquery.JQueryPromise done(net.java.html.lib.jquery.JQueryPromiseCallback doneCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.done$545($js(this), /* UnionType*/$js(doneCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object is resolved.
  *
  * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved.
  * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.
  */
  public net.java.html.lib.jquery.JQueryPromise done(net.java.html.lib.jquery.JQueryPromiseCallback[] doneCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.done$545($js(this), /* UnionType*/$js(doneCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object is rejected.
  *
  * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
  * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise fail(net.java.html.lib.jquery.JQueryPromiseCallback failCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> failCallbacksN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.fail$546($js(this), /* UnionType*/$js(failCallback1), /* FirstTypeNode*/$js(failCallbacksN)));
  }
  /**
  * Add handlers to be called when the Deferred object is rejected.
  *
  * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
  * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise fail(net.java.html.lib.jquery.JQueryPromiseCallback[] failCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> failCallbacksN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.fail$546($js(this), /* UnionType*/$js(failCallback1), /* FirstTypeNode*/$js(failCallbacksN)));
  }
  /**
  * Add handlers to be called when the Deferred object is rejected.
  *
  * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
  * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise fail(net.java.html.lib.jquery.JQueryPromiseCallback failCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.fail$547($js(this), /* UnionType*/$js(failCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object is rejected.
  *
  * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected.
  * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.
  */
  public net.java.html.lib.jquery.JQueryPromise fail(net.java.html.lib.jquery.JQueryPromiseCallback[] failCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.fail$547($js(this), /* UnionType*/$js(failCallback1)));
  }
  // Deprecated - given no typings
  public net.java.html.lib.jquery.JQueryPromise pipe(net.java.html.lib.Function.A1 doneFilter, net.java.html.lib.Function.A1 failFilter, net.java.html.lib.Function.A1 progressFilter) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.pipe$548($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(doneFilter, new Class[] {java.lang.Object.class})), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(failFilter, new Class[] {java.lang.Object.class})), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(progressFilter, new Class[] {java.lang.Object.class}))));
  }
  // Deprecated - given no typings
  public net.java.html.lib.jquery.JQueryPromise pipe() {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.pipe$549($js(this)));
  }
  // Deprecated - given no typings
  public net.java.html.lib.jquery.JQueryPromise pipe(net.java.html.lib.Function.A1 doneFilter) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.pipe$550($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(doneFilter, new Class[] {java.lang.Object.class}))));
  }
  // Deprecated - given no typings
  public net.java.html.lib.jquery.JQueryPromise pipe(net.java.html.lib.Function.A1 doneFilter, net.java.html.lib.Function.A1 failFilter) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.pipe$551($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(doneFilter, new Class[] {java.lang.Object.class})), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(failFilter, new Class[] {java.lang.Object.class}))));
  }
  /**
  * Add handlers to be called when the Deferred object generates progress notifications.
  *
  * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
  */
  public net.java.html.lib.jquery.JQueryPromise progress(net.java.html.lib.jquery.JQueryPromiseCallback progressCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> progressCallbackN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.progress$552($js(this), /* UnionType*/$js(progressCallback1), /* FirstTypeNode*/$js(progressCallbackN)));
  }
  /**
  * Add handlers to be called when the Deferred object generates progress notifications.
  *
  * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
  */
  public net.java.html.lib.jquery.JQueryPromise progress(net.java.html.lib.jquery.JQueryPromiseCallback[] progressCallback1, net.java.html.lib.Array,net.java.html.lib.jquery.JQueryPromiseCallback[]>> progressCallbackN) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.progress$552($js(this), /* UnionType*/$js(progressCallback1), /* FirstTypeNode*/$js(progressCallbackN)));
  }
  /**
  * Add handlers to be called when the Deferred object generates progress notifications.
  *
  * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
  */
  public net.java.html.lib.jquery.JQueryPromise progress(net.java.html.lib.jquery.JQueryPromiseCallback progressCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.progress$553($js(this), /* UnionType*/$js(progressCallback1)));
  }
  /**
  * Add handlers to be called when the Deferred object generates progress notifications.
  *
  * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications.
  */
  public net.java.html.lib.jquery.JQueryPromise progress(net.java.html.lib.jquery.JQueryPromiseCallback[] progressCallback1) {
    return (net.java.html.lib.jquery.JQueryPromise)net.java.html.lib.jquery.JQueryPromise.$as($Typings$.progress$553($js(this), /* UnionType*/$js(progressCallback1)));
  }
  /**
  * Determine the current state of a Deferred object.
  */
  public java.lang.String state() {
    return $Typings$.state$554($js(this));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy