Class SwingFXOptionPane


  • public final class SwingFXOptionPane
    extends Object
    Class in development.
    • Field Detail

      • ERROR_MESSAGE

        public static final int ERROR_MESSAGE
        Used for error messages.
        See Also:
        Constant Field Values
      • INFORMATION_MESSAGE

        public static final int INFORMATION_MESSAGE
        Used for information messages.
        See Also:
        Constant Field Values
      • WARNING_MESSAGE

        public static final int WARNING_MESSAGE
        Used for warning messages.
        See Also:
        Constant Field Values
      • QUESTION_MESSAGE

        public static final int QUESTION_MESSAGE
        Used for questions.
        See Also:
        Constant Field Values
      • YES_OPTION

        public static final int YES_OPTION
        Return value from class method if YES is chosen.
        See Also:
        Constant Field Values
      • OK_OPTION

        public static final int OK_OPTION
        Return value form class method if OK is chosen.
        See Also:
        Constant Field Values
      • NO_OPTION

        public static final int NO_OPTION
        Return value from class method if NO is chosen.
        See Also:
        Constant Field Values
      • CANCEL_OPTION

        public static final int CANCEL_OPTION
        Return value from class method if CANCEL is chosen.
        See Also:
        Constant Field Values
      • ERROR_OPTION

        public static final int ERROR_OPTION
        Return value form class method if a ERROR happens.
        See Also:
        Constant Field Values
      • CLOSED_OPTION

        public static final int CLOSED_OPTION
        Return value from class method if user closes window without selecting anything, more than likely this should be treated as either a CANCEL_OPTION or NO_OPTION.
        See Also:
        Constant Field Values
      • DEFAULT_OPTION

        public static final int DEFAULT_OPTION
        Type meaning Look and Feel should not supply any options -- only use the options from the JOptionPane.
        See Also:
        Constant Field Values
      • YES_NO_OPTION

        public static final int YES_NO_OPTION
        Type used for showConfirmDialog.
        See Also:
        Constant Field Values
      • YES_NO_CANCEL_OPTION

        public static final int YES_NO_CANCEL_OPTION
        Type used for showConfirmDialog.
        See Also:
        Constant Field Values
      • OK_CANCEL_OPTION

        public static final int OK_CANCEL_OPTION
        Type used for showConfirmDialog.
        See Also:
        Constant Field Values
    • Method Detail

      • showConfirmDialog

        public static int showConfirmDialog​(Object pParent,
                                            Object pMessage)
      • showConfirmDialog

        public static int showConfirmDialog​(Object pParent,
                                            Object pMessage,
                                            String pTitle,
                                            int pOptionType,
                                            int pMessageType)