Uses of Interface
com.teamdev.jxbrowser.js.JsPromise
Package
Description
This package provides classes that allow you to work with the JavaScript to Java bridge.
-
Uses of JsPromise in com.teamdev.jxbrowser.js
Modifier and TypeMethodDescriptionJsPromise.catchError
(JsPromiseHandler onRejected) Registers a rejection handler for this promise and returns a new one.JsPromise.finallyExecute
(JsPromiseHandler onFinally) Registers a handler that will be invoked if the promise is settled (fulfilled/rejected) and returns a new promise.JsPromise.then
(JsPromiseHandler onFulfilled) Registers a fulfillment handler for this promise and returns a new one.JsPromise.then
(JsPromiseHandler onFulfilled, JsPromiseHandler onRejected) Registers fulfillment and rejection handlers for this promise and returns a new one.