public abstract class CefFocusHandlerAdapter extends java.lang.Object implements CefFocusHandler
CefFocusHandler.FocusSource| Constructor and Description |
|---|
CefFocusHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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)
CefFocusHandleronGotFocus in interface CefFocusHandlerbrowser - The browser generating the event.public boolean onSetFocus(CefBrowser browser, CefFocusHandler.FocusSource source)
CefFocusHandleronSetFocus in interface CefFocusHandlerbrowser - The browser generating the event.source - indicates/ where the focus request is originating from.public void onTakeFocus(CefBrowser browser, boolean next)
CefFocusHandleronTakeFocus in interface CefFocusHandlerbrowser - 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.