Class InputDialog

    • Field Detail

      • tfInput

        protected javafx.scene.control.TextInputControl tfInput
    • Constructor Detail

      • InputDialog

        public InputDialog​(javafx.stage.Window parent,
                           javafx.stage.Modality modality,
                           String text,
                           String initText)
        Creates a dialog with a textfield for getting "text" back from the dialog.
        Parameters:
        parent - = parent component to make the dialog modal correctly!
        modality - = modality option
        text - = title-text
        initText - = pre-filled the textfield
      • InputDialog

        public InputDialog​(javafx.stage.Window parent,
                           String text,
                           String initText,
                           javafx.scene.control.TextInputControl control)
      • InputDialog

        public InputDialog​(javafx.stage.Window parent,
                           javafx.stage.Modality modality,
                           String text,
                           String initText,
                           javafx.scene.control.TextInputControl control)
        Creates a dialog with a text-component for getting "text" back from the dialog.
        Use this, if you want to use a custom-text-component instead of a TextField.
        Otherwise use the other constructor!
        Parameters:
        parent -
        modality -
        text -
        initText -
        control -
      • InputDialog

        public InputDialog​(javafx.stage.Window parent,
                           String text,
                           String initText)