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