public interface CefDisplayHandler
限定符和类型 | 方法和说明 |
---|---|
void |
onAddressChange(CefBrowser browser, CefFrame frame, java.lang.String url)
Handle address changes.
(处理地址更改。)
|
boolean |
onConsoleMessage(CefBrowser browser, CefSettings.LogSeverity level, java.lang.String message, java.lang.String source, int line)
Called to display a console message.
(调用以显示控制台消息。)
|
void |
onStatusMessage(CefBrowser browser, java.lang.String value)
Called when the browser receives a status message.
(当浏览器收到状态消息时调用。)
|
void |
onTitleChange(CefBrowser browser, java.lang.String title)
Handle title changes.
(处理标题更改。)
|
boolean |
onTooltip(CefBrowser browser, java.lang.String text)
Called when the browser is about to display a tooltip.
(当浏览器将要显示工具提示时调用。)
|
void onAddressChange(CefBrowser browser, CefFrame frame, java.lang.String url)
browser
- The browser generating the event.
(-浏览器生成事件。)
frame
- The frame generating the event.
(-生成事件的框架。)
url
- The new address.
(-新地址。)
boolean onConsoleMessage(CefBrowser browser, CefSettings.LogSeverity level, java.lang.String message, java.lang.String source, int line)
browser
- The browser generating the event.
(-浏览器生成事件。)
level
-
(-)
message
-
(-)
source
-
(-)
line
-
(-)
void onStatusMessage(CefBrowser browser, java.lang.String value)
browser
- The browser generating the event.
(-浏览器生成事件。)
value
- Contains the text that will be displayed in the status message.
(-包含将在状态消息中显示的文本。)
void onTitleChange(CefBrowser browser, java.lang.String title)
browser
- The browser generating the event.
(-浏览器生成事件。)
title
- The new title.
(-新标题。)
boolean onTooltip(CefBrowser browser, java.lang.String text)
browser
- The browser generating the event.
(-浏览器生成事件。)
text
- Contains the text that will be displayed in the tooltip.
(-包含将在工具提示中显示的文本。)