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 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.boolean onSetFocus(CefBrowser browser, CefFocusHandler.FocusSource source)
browser - The browser generating the event.source - indicates/ where the focus request is originating from.void onGotFocus(CefBrowser browser)
browser - The browser generating the event.Copyright © 2017. All rights reserved.