Package com.teamdev.jxbrowser.callback
Interface SyncCallback<P,R>
- Type Parameters:
P- the type of callback parametersR- the type of callback response
- All Superinterfaces:
Callback
- All Known Subinterfaces:
AllowPluginCallback,BeforeSendUploadDataCallback,BeforeStartTransactionCallback,BeforeUrlRequestCallback,BrowserSyncCallback<P,,R> CanAccessFileCallback,CancelTouchCallback,CanGetCookiesCallback,CanSetCookieCallback,CreatePopupCallback,EndTouchCallback,EnterMouseCallback,ExitMouseCallback,InjectCssCallback,InjectJsCallback,InterceptUrlRequestCallback,com.teamdev.jxbrowser.media.callback.MediaSyncCallback<P,,R> MoveMouseCallback,MoveMouseWheelCallback,MoveTouchCallback,NavigationSyncCallback<P,,R> NetworkSyncCallback<P,,R> OpenPopupCallback,PluginsSyncCallback<P,,R> PressKeyCallback,PressMouseCallback,ReceiveHeadersCallback,ReleaseKeyCallback,ReleaseMouseCallback,SelectMediaDeviceCallback,ShowHttpErrorPageCallback,ShowNetErrorPageCallback,StartNavigationCallback,StartTouchCallback,TypeKeyCallback,VerifyCertificateCallback
- All Known Implementing Classes:
DefaultOpenPopupCallback,DefaultOpenPopupCallback,DefaultOpenPopupCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A common interface that all synchronous callbacks must extend.
-
Method Summary
-
Method Details
-
on
Invoked when the callback needs a response of typeRthat may be determined based on the provided callback parameters.- Parameters:
params- the object that represents the callback parameters- Returns:
- an object of type
Rthat represents the callback response that should be determined based on the provided parameters
-