Class DefaultShowDropdownCallback
java.lang.Object
com.teamdev.jxbrowser.view.WidgetHolder<BrowserView>
com.teamdev.jxbrowser.view.swing.callback.DefaultCallback
com.teamdev.jxbrowser.view.swing.callback.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
DefaultShowDropdownCallback
-
-
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 interfaceAsyncCallback<com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params,
com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action> - Parameters:
params
- the object that represents the callback parametersaction
- 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 theIllegalStateException
-