public interface InputEventsHandler<T>
BrowserView
to filter different input events such as mouse, scroll, keyboard, etc.
Modifier and Type | Method and Description |
---|---|
boolean |
handle(T event)
Invoked when the
当BrowserView组件接收到输入事件以询问是否应将其发送到本机Chromium Web浏览器控件时调用。 BrowserView component receives an input event to ask whether it should be sent to the native Chromium web browser control or not.
|
boolean handle(T event)
BrowserView
component receives an input event to ask whether it should be sent to the native Chromium web browser control or not. This filter doesn't handle the situation when input events are sent from JavaScript code on the loaded web page.
event
- the input event to check.
-要检查的输入事件。
true
if the passed
event
should be filtered (canceled).
是否应该过滤(取消)通过的内容。