public class PromptInputDialog extends Dialog
CANCEL_BUTTON, OK_BUTTON| Constructor and Description |
|---|
PromptInputDialog(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String title,
@NonNull java.lang.String text)
Create a prompt dialog
|
| Modifier and Type | Method and Description |
|---|---|
protected javafx.scene.Node |
createDialogArea() |
java.lang.String |
getInput() |
protected void |
okPressed()
Method called when the ok button is invoked
|
buttonPressed, cancelPressed, close, create, createButtonBar, createButtonForBar, createButtonsForBar, createContents, getBounds, getContentInset, getInitialContentSize, getInitialLocation, getInitialSize, getModality, getStylesheets, isCancelDefault, isOkDefault, open, pack, preopen, setBounds, setReturnCodepublic PromptInputDialog(@Nullable javafx.stage.Window parent,
@NonNull java.lang.String title,
@NonNull java.lang.String text)
parent - the parenttitle - the window titletext - the prompt textprotected javafx.scene.Node createDialogArea()
createDialogArea in class Dialogprotected void okPressed()
Dialogpublic java.lang.String getInput()