public class TextInputDialog extends Dialog<String>
Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
Constructor and Description |
---|
TextInputDialog()
Creates a new TextInputDialog without a default value entered into the
dialog
TextField . |
TextInputDialog(String defaultValue)
Creates a new TextInputDialog with the default value entered into the
dialog
TextField . |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Returns the default value that was specified in the constructor.
|
TextField |
getEditor()
Returns the
TextField used within this dialog. |
buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
public TextInputDialog()
TextField
.Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.