Class SwingFXOptionPane

java.lang.Object
com.iamsoft.util.ui.javafx.SwingFXOptionPane

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

    • ERROR_MESSAGE

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

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

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

      public static final int QUESTION_MESSAGE
      Used for questions.
      See Also:
    • PLAIN_MESSAGE

      public static final int PLAIN_MESSAGE
      No icon is used.
      See Also:
    • YES_OPTION

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

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

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

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

      public static final int ERROR_OPTION
      Return value form class method if a ERROR happens.
      See Also:
    • 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:
    • 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:
    • YES_NO_OPTION

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

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

      public static final int OK_CANCEL_OPTION
      Type used for showConfirmDialog.
      See Also:
  • Method Details

    • showConfirmDialog

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

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