Class AskDialog<T>

    • Constructor Detail

      • AskDialog

        protected AskDialog​(java.lang.String dialogTitle,
                            java.lang.String message,
                            int type)
      • AskDialog

        public AskDialog​(java.lang.String dialogTitle,
                         java.lang.String message,
                         int type,
                         java.lang.Object defaultValue)
      • AskDialog

        public AskDialog​(java.awt.Component parent,
                         java.lang.String title,
                         java.lang.String message,
                         int type)
      • AskDialog

        public AskDialog​(java.awt.Component parent,
                         java.lang.String title,
                         java.lang.String message,
                         int type,
                         java.util.List<T> choices,
                         java.lang.Object defaultValue)
    • Method Detail

      • getChoiceValue

        public T getChoiceValue()
      • getTextFieldValue

        public java.lang.String getTextFieldValue()
      • cancelCallback

        protected void cancelCallback()
        Description copied from class: DialogComponentProvider
        The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
        Overrides:
        cancelCallback in class DialogComponentProvider
      • isCanceled

        public boolean isCanceled()
      • getValueAsString

        public java.lang.String getValueAsString()
      • getValueAsInt

        protected java.lang.Integer getValueAsInt()
      • getValueAsLong

        protected java.lang.Long getValueAsLong()
      • getValueAsDouble

        protected java.lang.Double getValueAsDouble()