public class AsyncOperationContext extends RefDataClass
AsyncOperationParamsidfactoryCreated, factoryProperties| Constructor and Description |
|---|
AsyncOperationContext() |
AsyncOperationContext(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 AsyncOperationContext |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
AsyncOperationContext |
setCancellationController(CancellationController cancellationController)
A
CancellationController that the asynchronous operation should look to for whether the
operation is canceled. |
getRef, getRef, internalSetIDapplyFactoryProperties, 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, setFactoryCreatedpublic AsyncOperationContext()
public AsyncOperationContext(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AsyncOperationContext getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public AsyncOperationContext 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 nullAsyncOperationContext 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.