Class DefaultShowDropdownCallback

All Implemented Interfaces:
com.teamdev.jxbrowser.browser.internal.callback.BrowserWidgetCallback, com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback, AsyncCallback<com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params,com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action>, Callback

public final class DefaultShowDropdownCallback extends DefaultCallback implements com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback
The default ShowDropdownCallback implementation that shows a dropdown widget when user clicks on <select> HTML element in headless toolkits.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback

    com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action, com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    on(com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params params, com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action action)
    Invoked when the callback needs a response for the given callback parameters.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultShowDropdownCallback

      public DefaultShowDropdownCallback(BrowserView parent)
  • Method Details

    • on

      public void on(com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params params, com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action action)
      Description copied from interface: AsyncCallback
      Invoked when the callback needs a response for the given callback parameters. The response can be provided asynchronously from a different thread or before the method returns. The response can be provided only once.
      Specified by:
      on in interface AsyncCallback<com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params,com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action>
      Parameters:
      params - the object that represents the callback parameters
      action - 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