public interface CefFrame
限定符和类型 | 方法和说明 |
---|---|
void |
dispose()
Removes the native reference from an unused object.
(从未使用的对象中删除本机引用。)
|
void |
executeJavaScript(java.lang.String code, java.lang.String url, int line)
Execute a string of JavaScript code in this frame.
(在此框架中执行一串JavaScript代码。)
|
long |
getIdentifier()
Returns the globally unique identifier for this frame or < 0 if the underlying frame does not yet exist.
(返回此框架的全局唯一标识符;如果基础框架尚不存在,则返回<0。)
|
java.lang.String |
getName()
Returns the name for this frame.
(返回此框架的名称。)
|
CefFrame |
getParent()
Returns the parent of this frame or NULL if this is the main (top-level) frame.
(返回此框架的父级;如果这是主要(顶级)框架,则返回NULL。)
|
java.lang.String |
getURL()
Emits the URL currently loaded in this frame.
(退出当前在此框架中加载的URL。)
|
boolean |
isFocused()
Returns true if this is the focused frame.
(如果这是焦点框,则返回true。)
|
boolean |
isMain()
Returns true if this is the main (top-level) frame.
(如果这是主(顶层)框架,则返回true。)
|
boolean |
isValid()
True if this object is currently attached to a valid frame.
(如果此对象当前已附加到有效框架,则为true。)
|
void dispose()
void executeJavaScript(java.lang.String code, java.lang.String url, int line)
code
- The code to be executed.
(-要执行的代码。)
url
- The URL where the script in question can be found.
(-可以找到相关脚本的网址。)
line
- The base line number to use for error reporting.
(-用于错误报告的基准编号。)
long getIdentifier()
java.lang.String getName()
CefFrame getParent()
java.lang.String getURL()
boolean isFocused()
boolean isMain()
boolean isValid()