Interface OpenExternalAppCallback
- All Superinterfaces:
AsyncCallback<OpenExternalAppCallback.Params,
,OpenExternalAppCallback.Action> BrowserAsyncCallback<OpenExternalAppCallback.Params,
,OpenExternalAppCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultOpenExternalAppCallback
,DefaultOpenExternalAppCallback
,DefaultOpenExternalAppCallback
public interface OpenExternalAppCallback
extends BrowserAsyncCallback<OpenExternalAppCallback.Params,OpenExternalAppCallback.Action>
This callback is invoked when the currently loaded web page wants to open a link in the
associated external application.
In this callback you can display a modal dialog with the localized message that you can get
from the callback OpenExternalAppCallback.Params
.
Use the OpenExternalAppCallback.Action.open()
method to tell the browser that the link should be opened in
the associated external application. If the application is not running, the operating system
should launch the application and open the link in it.
If the callback throws an exception, the OpenExternalAppCallback.Action.cancel()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theOpenExternalAppCallback
.static interface
The parameters of theOpenExternalAppCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on