public static final class OpenExternalAppCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.OpenExternalApp.Response>
OpenExternalAppCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.internal.rpc.OpenExternalApp.Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the link should not be opened in the external application.
|
void |
open()
Notifies the browser that the link should be opened in the associated external
application.
|
isClosed
public Action(java.util.function.Consumer<com.teamdev.jxbrowser.internal.rpc.OpenExternalApp.Response> consumer)
public void open()
If the application is not running, the operating system should launch the application and open the link in it.
public void cancel()