public final class DefaultShowDropdownCallback extends DefaultCallback implements com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback
ShowDropdownCallback
implementation that shows a dropdown widget when user
clicks on <select>
HTML element in
headless toolkits.Constructor and Description |
---|
DefaultShowDropdownCallback(BrowserView parent) |
Modifier and Type | Method and 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.
|
public DefaultShowDropdownCallback(BrowserView parent)
public void on(com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Params params, com.teamdev.jxbrowser.browser.internal.callback.ShowDropdownCallback.Action action)
AsyncCallback
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 the IllegalStateException