com.teamdev.jxbrowser.prompt
Class PromptDialogParams

java.lang.Object
  extended by com.teamdev.jxbrowser.prompt.DialogParams
      extended by com.teamdev.jxbrowser.prompt.PromptDialogParams

public class PromptDialogParams
extends DialogParams

Contains information about Java Script prompt dialog request parameters.


Constructor Summary
PromptDialogParams(Browser browser, java.lang.String message, java.lang.String title, java.lang.String value, java.awt.Component owner)
          Constructs a new PromptDialogInfo instance.
 
Method Summary
 java.lang.String getValue()
          Returns the value for the prompt input field, or null if input filed has no value.
 void setValue(java.lang.String value)
          Sets the value of the prompt input field.
 
Methods inherited from class com.teamdev.jxbrowser.prompt.DialogParams
getBrowser, getMessage, getOwner, getTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromptDialogParams

public PromptDialogParams(Browser browser,
                          java.lang.String message,
                          java.lang.String title,
                          java.lang.String value,
                          java.awt.Component owner)
Constructs a new PromptDialogInfo instance.

Parameters:
browser - the browser instance.
message - the prompt dialog message.
title - the prompt dialog title.
value - the default value for the prompt input field.
owner - the prompt dialog owner.
Method Detail

getValue

public java.lang.String getValue()
Returns the value for the prompt input field, or null if input filed has no value.

Returns:
the value for the prompt input field or null if input filed has no value.

setValue

public void setValue(java.lang.String value)
Sets the value of the prompt input field.

Parameters:
value - the value of the prompt input field.