Package com.smartgwt.client.util
Class AsyncUtil
java.lang.Object
com.smartgwt.client.util.AsyncUtil
Contains utilities and constants to support asynchronous code.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getAsyncMessage
(AsyncOperationResult result) Returns a user-displayable message for the givenAsyncOperationResult
if itstype
is not SUCCESS.
-
Constructor Details
-
AsyncUtil
public AsyncUtil()
-
-
Method Details
-
getAsyncMessage
Returns a user-displayable message for the givenAsyncOperationResult
if itstype
is not SUCCESS.isc.getAsyncMessage()
andAsyncUtil.getAsyncMessage()
are equivalent.- Parameters:
result
- theAsyncOperationResult
.- Returns:
- If the
type
is SUCCESS, thennull
; otherwise, a user-displayable message describing the non-successful result. SeeHTMLString
- See Also:
-
com.smartgwt.client.util.AsyncUtil#asyncErrorMessageGeneric
com.smartgwt.client.util.AsyncUtil#asyncCanceledMessage
com.smartgwt.client.util.AsyncUtil#asyncCanceledMessageGeneric
com.smartgwt.client.util.AsyncUtil#asyncDisabledMessageGeneric
com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessage
com.smartgwt.client.util.AsyncUtil#asyncNonSuccessMessageGeneric
-