public class DialogParams
extends java.lang.Object
DialogHandler.onAlert(DialogParams)
and
DialogHandler.onConfirmation(DialogParams)
methods.
Constructor and Description |
---|
DialogParams(Browser browser, java.lang.String url, java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
Browser |
getBrowser()
Returns the browser instance of the dialog.
返回对话框的浏览器实例。 |
java.lang.String |
getMessage()
Returns a string that represents the dialog message.
返回表示对话框消息的字符串。 |
java.lang.String |
getURL()
Returns the address of the web page that causes this dialog.
返回导致该对话框的网页地址。 |
java.lang.String |
toString() |
public DialogParams(Browser browser, java.lang.String url, java.lang.String message)
public Browser getBrowser()
public java.lang.String getURL()
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class
java.lang.Object