public static interface UI.DelayedCallbackRegistration extends Serializable
UI.runAfterRoundTrip(DelayedCallback).| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels the pending callback operation and stops this registration
object from triggering any further round-trips.
|
long |
getId()
Returns the current ID of this registration object.
|
boolean |
hasExecuted()
Returns
true if the delay has been completed and the callback
operation has been executed. |
boolean |
isCancelled()
Returns
true if the callback operation was cancelled
successfully before it could be executed. |
boolean |
isPending()
Returns
true if the callback operation is still waiting to be
executed. |
boolean isPending()
true if the callback operation is still waiting to be
executed.true if callback still waiting, false
otherwiseboolean hasExecuted()
true if the delay has been completed and the callback
operation has been executed.true if callback executed, false otherwiseboolean isCancelled()
true if the callback operation was cancelled
successfully before it could be executed.true if cancelled successfully, false
otherwisecancel()boolean cancel()
Note: calling this method does not prevent round-trips getting triggered for other reasons.
true if cancelling was successful, false
otherwiselong getId()
Copyright © 2023 Vaadin Ltd. All rights reserved.