public final class DefaultOpenExternalAppCallback extends DefaultCallback implements OpenExternalAppCallback
OpenExternalAppCallback
implementation that shows a dialog when the web page
wants to open a link of specific type in the associated external application.OpenExternalAppCallback.Action, OpenExternalAppCallback.Params
Constructor and Description |
---|
DefaultOpenExternalAppCallback(BrowserView parent) |
Modifier and Type | Method and Description |
---|---|
void |
on(OpenExternalAppCallback.Params params,
OpenExternalAppCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public DefaultOpenExternalAppCallback(BrowserView parent)
public void on(OpenExternalAppCallback.Params params, OpenExternalAppCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<OpenExternalAppCallback.Params,OpenExternalAppCallback.Action>
params
- the object that represents the callback parameterstell
- the object that can be used to provide the callback response. One of its
methods must be invoked to provide the response. Once the response has been
provided, any call to the object methods will result in the IllegalStateException