public interface CefFocusHandler
限定符和类型 | 接口和说明 |
---|---|
static class |
CefFocusHandler.FocusSource
Focus sources.
焦点来源。 |
限定符和类型 | 方法和说明 |
---|---|
void |
onGotFocus(CefBrowser browser)
Called when the browser component has received focus.
在浏览器组件获得焦点时调用。 |
boolean |
onSetFocus(CefBrowser browser, CefFocusHandler.FocusSource source)
Called when the browser component is requesting focus.
在浏览器组件请求焦点时调用。 |
void |
onTakeFocus(CefBrowser browser, boolean next)
Called when the browser component is about to loose focus.
当浏览器组件即将松散焦点时调用。 |
void onGotFocus(CefBrowser browser)
browser
- The browser generating the event.
- 生成事件的浏览器。
boolean onSetFocus(CefBrowser browser, CefFocusHandler.FocusSource source)
browser
- The browser generating the event.
- 生成事件的浏览器。
source
- indicates/ where the focus request is originating from.
- 指示/焦点请求源自何处。
void onTakeFocus(CefBrowser browser, boolean next)
browser
- The browser generating the event.
- 生成事件的浏览器。
next
- will be true if the browser is giving focus to the next component and false if the browser is giving focus to the previous component.
- 如果浏览器将焦点放在下一个组件上,则为true;如果浏览器将焦点放在前一个组件上,则为false。