public abstract class CefFocusHandlerAdapter extends java.lang.Object implements CefFocusHandler
CefFocusHandler.FocusSource| 构造器和说明 |
|---|
CefFocusHandlerAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
当浏览器组件即将松散焦点时调用。 |
public void onGotFocus(CefBrowser browser)
CefFocusHandler
onGotFocus 在接口中
CefFocusHandler
browser - The browser generating the event.
- 生成事件的浏览器。
public boolean onSetFocus(CefBrowser browser, CefFocusHandler.FocusSource source)
CefFocusHandler
onSetFocus 在接口中
CefFocusHandler
browser - The browser generating the event.
- 生成事件的浏览器。
source - indicates/ where the focus request is originating from.
- 指示/焦点请求源自何处。
public void onTakeFocus(CefBrowser browser, boolean next)
CefFocusHandler
onTakeFocus 在接口中
CefFocusHandler
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。