Interface PressKeyCallback
- All Superinterfaces:
BrowserCallback
,BrowserSyncCallback<PressKeyCallback.Params,
,PressKeyCallback.Response> Callback
,SyncCallback<PressKeyCallback.Params,
PressKeyCallback.Response>
public interface PressKeyCallback
extends BrowserSyncCallback<PressKeyCallback.Params,PressKeyCallback.Response>
This callback is invoked when a
KeyPressed
event is about to be processed by the
browser.
Return the PressKeyCallback.Response.proceed()
response to allow the browser to process the event.
Return the PressKeyCallback.Response.suppress()
response to suppress the event.
Important: the engine will be blocked until you return a response from the callback.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The parameters of thePressKeyCallback
.static interface
A response of thePressKeyCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on