com.teamdev.jxbrowser.prompt
Class DialogParams

java.lang.Object
  extended by com.teamdev.jxbrowser.prompt.DialogParams
Direct Known Subclasses:
LoginParams, PromptDialogParams, ScriptErrorParams

public class DialogParams
extends java.lang.Object

Contains the browser dialog parameters.


Constructor Summary
DialogParams(Browser browser, java.lang.String message, java.lang.String title, java.awt.Component owner)
          Constructs a new DialogParams instance with the specified message and title.
 
Method Summary
 Browser getBrowser()
          Returns the browser instance for this dialog or null when browser instance is already disposed.
 java.lang.String getMessage()
          Returns the dialog message.
 java.awt.Component getOwner()
          Returns the dialog owner.
 java.lang.String getTitle()
          Returns the dialog title.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogParams

public DialogParams(Browser browser,
                    java.lang.String message,
                    java.lang.String title,
                    java.awt.Component owner)
Constructs a new DialogParams instance with the specified message and title.

Parameters:
browser - the browser instance.
message - the dialog message.
title - the dialog title.
owner - the dialog owner.
Method Detail

getBrowser

public Browser getBrowser()
Returns the browser instance for this dialog or null when browser instance is already disposed.

Returns:
the browser instance for this dialog or null when browser instance is already disposed.

getMessage

public java.lang.String getMessage()
Returns the dialog message.

Returns:
the dialog message.

getTitle

public java.lang.String getTitle()
Returns the dialog title.

Returns:
the dialog title.

getOwner

public java.awt.Component getOwner()
Returns the dialog owner.

Returns:
the dialog owner.