public final class PopupParams
extends java.lang.Object
Constructor and Description |
---|
PopupParams(Browser parent, java.lang.String target, java.lang.String url)
Construct a new
PopupParams instance.
|
Modifier and Type | Method and Description |
---|---|
Browser |
getParent()
Returns the parent for the current popup window.
返回当前弹出窗口的父级。 |
java.lang.String |
getTargetName()
Returns the popup window target name that can be passed through
返回可以通过window.open JavaScript函数传递的弹出窗口目标名称。 window.open JavaScript function.
|
java.lang.String |
getURL()
The URL of the page to open in the new window.
在新窗口中打开的页面的URL。 |
java.lang.String |
toString() |
public PopupParams(Browser parent, java.lang.String target, java.lang.String url)
PopupParams
instance.
parent
- the parent of new window.
-新窗口的父级。
target
- target name of newly created window
-新建窗口的目标名称
url
- initial url of newly created window
-新创建的窗口的初始网址
public Browser getParent()
public java.lang.String getTargetName()
window.open
JavaScript function. The name can be used to refer the window again in JavaScript.
public java.lang.String getURL()
public java.lang.String toString()
toString
in class
java.lang.Object