public class AsyncOperationParams extends RefDataClass
AsyncOperationContext
id
factoryCreated, factoryProperties
Constructor and Description |
---|
AsyncOperationParams() |
AsyncOperationParams(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
CancellationController |
getCancellationController()
A
CancellationController that the asynchronous operation should look to for whether the
operation is canceled. |
static AsyncOperationParams |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
AsyncOperationParams |
setCancellationController(CancellationController cancellationController)
A
CancellationController that the asynchronous operation should look to for whether the
operation is canceled. |
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public AsyncOperationParams()
public AsyncOperationParams(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AsyncOperationParams getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public AsyncOperationParams setCancellationController(CancellationController cancellationController)
CancellationController
that the asynchronous operation should look to for whether the
operation is canceled. This may be null
if the invoker of the asynchronous operation does not need the
ability to cancel. However, note that the result type
may
still be CANCELED; for example, the asynchronous operation may be self-canceling after a timeout.
Implementations of
asynchronous operations must treat this CancellationController
as observer-only, and they cannot cancel
it.
cancellationController
- New cancellationController value. Default value is nullAsyncOperationParams
instance, for chaining setter callspublic CancellationController getCancellationController()
CancellationController
that the asynchronous operation should look to for whether the
operation is canceled. This may be null
if the invoker of the asynchronous operation does not need the
ability to cancel. However, note that the result type
may
still be CANCELED; for example, the asynchronous operation may be self-canceling after a timeout.
Implementations of
asynchronous operations must treat this CancellationController
as observer-only, and they cannot cancel
it.