public class DoubleTextInputDialog
extends javafx.scene.control.Dialog
Create a dialogs with two text inputs
contentTextProperty, dialogPaneProperty, graphicProperty, headerTextProperty, heightProperty, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, showingProperty, titleProperty, widthProperty, xProperty, yProperty| Constructor and Description |
|---|
DoubleTextInputDialog() |
DoubleTextInputDialog(String label1Value,
String label2Value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText1Value()
Get the text from the first text field
|
String |
getText2Value()
Get the text from the 2nd text field
|
void |
setLabel1Value(String value)
Set the text of the 1st label
|
void |
setLabel2Value(String value)
Set the text of the 2nd label
|
void |
setText1Value(String value)
Set the text of the first textField
|
void |
setText2Value(String value)
Set the text of the 2nd text field
|
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, yPropertypublic void setText1Value(String value)
value - Text to setpublic void setText2Value(String value)
value - Text to setpublic String getText1Value()
public String getText2Value()
public void setLabel1Value(String value)
value - Text to setpublic void setLabel2Value(String value)
value - Text to setCopyright © 2018. All rights reserved.