public final class PromptData extends Object
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.WebEngine
,
WebEngine.setPromptHandler(javafx.util.Callback<javafx.scene.web.PromptData, java.lang.String>)
Constructor and Description |
---|
PromptData(String message,
String defaultValue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Returns default value carried by this data object.
|
String |
getMessage()
Returns message carried by this data object.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.