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。)