public class JQueryPromise<T> extends JQueryGenericPromise<T>
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
JQueryPromise(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static JQueryPromise |
$as(Object obj) |
JQueryPromise<T> |
always(JQueryPromiseCallback<Object> alwaysCallback1)
Add handlers to be called when the Deferred object is either resolved or rejected.
|
JQueryPromise<T> |
always(JQueryPromiseCallback<Object>[] alwaysCallback1)
Add handlers to be called when the Deferred object is either resolved or rejected.
|
JQueryPromise<T> |
always(JQueryPromiseCallback<Object>[] alwaysCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> alwaysCallbacksN)
Add handlers to be called when the Deferred object is either resolved or rejected.
|
JQueryPromise<T> |
always(JQueryPromiseCallback<Object> alwaysCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> alwaysCallbacksN)
Add handlers to be called when the Deferred object is either resolved or rejected.
|
JQueryPromise<T> |
done(JQueryPromiseCallback<T> doneCallback1)
Add handlers to be called when the Deferred object is resolved.
|
JQueryPromise<T> |
done(JQueryPromiseCallback<T>[] doneCallback1)
Add handlers to be called when the Deferred object is resolved.
|
JQueryPromise<T> |
done(JQueryPromiseCallback<T>[] doneCallback1,
Array<Union.A2<JQueryPromiseCallback<T>,JQueryPromiseCallback<T>[]>> doneCallbackN)
Add handlers to be called when the Deferred object is resolved.
|
JQueryPromise<T> |
done(JQueryPromiseCallback<T> doneCallback1,
Array<Union.A2<JQueryPromiseCallback<T>,JQueryPromiseCallback<T>[]>> doneCallbackN)
Add handlers to be called when the Deferred object is resolved.
|
JQueryPromise<T> |
fail(JQueryPromiseCallback<Object> failCallback1)
Add handlers to be called when the Deferred object is rejected.
|
JQueryPromise<T> |
fail(JQueryPromiseCallback<Object>[] failCallback1)
Add handlers to be called when the Deferred object is rejected.
|
JQueryPromise<T> |
fail(JQueryPromiseCallback<Object>[] failCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> failCallbacksN)
Add handlers to be called when the Deferred object is rejected.
|
JQueryPromise<T> |
fail(JQueryPromiseCallback<Object> failCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> failCallbacksN)
Add handlers to be called when the Deferred object is rejected.
|
JQueryPromise<Object> |
pipe() |
JQueryPromise<Object> |
pipe(Function.A1<? super Object,? extends Object> doneFilter) |
JQueryPromise<Object> |
pipe(Function.A1<? super Object,? extends Object> doneFilter,
Function.A1<? super Object,? extends Object> failFilter) |
JQueryPromise<Object> |
pipe(Function.A1<? super Object,? extends Object> doneFilter,
Function.A1<? super Object,? extends Object> failFilter,
Function.A1<? super Object,? extends Object> progressFilter) |
JQueryPromise<T> |
progress(JQueryPromiseCallback<Object> progressCallback1)
Add handlers to be called when the Deferred object generates progress notifications.
|
JQueryPromise<T> |
progress(JQueryPromiseCallback<Object>[] progressCallback1)
Add handlers to be called when the Deferred object generates progress notifications.
|
JQueryPromise<T> |
progress(JQueryPromiseCallback<Object>[] progressCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> progressCallbackN)
Add handlers to be called when the Deferred object generates progress notifications.
|
JQueryPromise<T> |
progress(JQueryPromiseCallback<Object> progressCallback1,
Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> progressCallbackN)
Add handlers to be called when the Deferred object generates progress notifications.
|
String |
state()
Determine the current state of a Deferred object.
|
then, then, then
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected JQueryPromise(Objs.Constructor<?> c, Object js)
public static JQueryPromise $as(Object obj)
public JQueryPromise<T> always(JQueryPromiseCallback<Object> alwaysCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> alwaysCallbacksN)
alwaysCallbacks1
- A function, or array of functions, that is called when the Deferred is resolved or rejected.alwaysCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.public JQueryPromise<T> always(JQueryPromiseCallback<Object>[] alwaysCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> alwaysCallbacksN)
alwaysCallbacks1
- A function, or array of functions, that is called when the Deferred is resolved or rejected.alwaysCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.public JQueryPromise<T> always(JQueryPromiseCallback<Object> alwaysCallback1)
alwaysCallbacks1
- A function, or array of functions, that is called when the Deferred is resolved or rejected.alwaysCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.public JQueryPromise<T> always(JQueryPromiseCallback<Object>[] alwaysCallback1)
alwaysCallbacks1
- A function, or array of functions, that is called when the Deferred is resolved or rejected.alwaysCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected.public JQueryPromise<T> done(JQueryPromiseCallback<T> doneCallback1, Array<Union.A2<JQueryPromiseCallback<T>,JQueryPromiseCallback<T>[]>> doneCallbackN)
doneCallbacks1
- A function, or array of functions, that are called when the Deferred is resolved.doneCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.public JQueryPromise<T> done(JQueryPromiseCallback<T>[] doneCallback1, Array<Union.A2<JQueryPromiseCallback<T>,JQueryPromiseCallback<T>[]>> doneCallbackN)
doneCallbacks1
- A function, or array of functions, that are called when the Deferred is resolved.doneCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.public JQueryPromise<T> done(JQueryPromiseCallback<T> doneCallback1)
doneCallbacks1
- A function, or array of functions, that are called when the Deferred is resolved.doneCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.public JQueryPromise<T> done(JQueryPromiseCallback<T>[] doneCallback1)
doneCallbacks1
- A function, or array of functions, that are called when the Deferred is resolved.doneCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is resolved.public JQueryPromise<T> fail(JQueryPromiseCallback<Object> failCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> failCallbacksN)
failCallbacks1
- A function, or array of functions, that are called when the Deferred is rejected.failCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.public JQueryPromise<T> fail(JQueryPromiseCallback<Object>[] failCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> failCallbacksN)
failCallbacks1
- A function, or array of functions, that are called when the Deferred is rejected.failCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.public JQueryPromise<T> fail(JQueryPromiseCallback<Object> failCallback1)
failCallbacks1
- A function, or array of functions, that are called when the Deferred is rejected.failCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.public JQueryPromise<T> fail(JQueryPromiseCallback<Object>[] failCallback1)
failCallbacks1
- A function, or array of functions, that are called when the Deferred is rejected.failCallbacks2
- Optional additional functions, or arrays of functions, that are called when the Deferred is rejected.public JQueryPromise<Object> pipe(Function.A1<? super Object,? extends Object> doneFilter, Function.A1<? super Object,? extends Object> failFilter, Function.A1<? super Object,? extends Object> progressFilter)
public JQueryPromise<Object> pipe()
public JQueryPromise<Object> pipe(Function.A1<? super Object,? extends Object> doneFilter)
public JQueryPromise<Object> pipe(Function.A1<? super Object,? extends Object> doneFilter, Function.A1<? super Object,? extends Object> failFilter)
public JQueryPromise<T> progress(JQueryPromiseCallback<Object> progressCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> progressCallbackN)
progressCallbacks
- A function, or array of functions, to be called when the Deferred generates progress notifications.public JQueryPromise<T> progress(JQueryPromiseCallback<Object>[] progressCallback1, Array<Union.A2<JQueryPromiseCallback<Object>,JQueryPromiseCallback<Object>[]>> progressCallbackN)
progressCallbacks
- A function, or array of functions, to be called when the Deferred generates progress notifications.public JQueryPromise<T> progress(JQueryPromiseCallback<Object> progressCallback1)
progressCallbacks
- A function, or array of functions, to be called when the Deferred generates progress notifications.public JQueryPromise<T> progress(JQueryPromiseCallback<Object>[] progressCallback1)
progressCallbacks
- A function, or array of functions, to be called when the Deferred generates progress notifications.public String state()
Copyright © 2018. All rights reserved.