Class AlertCallback.Action

java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowAlert.Response>
com.teamdev.jxbrowser.browser.callback.AlertCallback.Action
Enclosing interface:
AlertCallback

public static final class AlertCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowAlert.Response>
An action providing a response to the AlertCallback.
  • Constructor Details

    • Action

      public Action(Consumer<com.teamdev.jxbrowser.js.internal.rpc.ShowAlert.Response> consumer)
  • Method Details

    • ok

      public void ok()
      Notifies the browser that the alert dialog is closed.