Class PromptData
java.lang.Object
javafx.scene.web.PromptData
This class encapsulates data passed into JavaScript
prompt()
function:
a message and a default value. Instances are passed into prompt
handlers registered on a WebEngine
using
WebEngine.setPromptHandler(javafx.util.Callback<javafx.scene.web.PromptData, java.lang.String>)
method.- Since:
- JavaFX 2.0
- See Also:
-
Constructor Details
-
PromptData
-
-
Method Details
-
getMessage
Returns the message carried by this data object.- Returns:
- the message
-
getDefaultValue
Returns the default value carried by this data object.- Returns:
- the default value
-