java.lang.Object
com.iamsoft.util.ui.javafx.SwingFXOptionPane
Class in development.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReturn value from class method if CANCEL is chosen.static final intReturn value from class method if user closes window without selecting anything, more than likely this should be treated as either aCANCEL_OPTIONorNO_OPTION.static final intType meaning Look and Feel should not supply any options -- only use the options from theJOptionPane.static final intUsed for error messages.static final intReturn value form class method if a ERROR happens.static final intUsed for information messages.static final intReturn value from class method if NO is chosen.static final intType used forshowConfirmDialog.static final intReturn value form class method if OK is chosen.static final intNo icon is used.static final intUsed for questions.static final intUsed for warning messages.static final intType used forshowConfirmDialog.static final intType used forshowConfirmDialog.static final intReturn value from class method if YES is chosen. -
Method Summary
Modifier and TypeMethodDescriptionstatic intshowConfirmDialog(Object pParent, Object pMessage) static intshowConfirmDialog(Object pParent, Object pMessage, String pTitle, int pOptionType, int pMessageType)
-
Field Details
-
ERROR_MESSAGE
public static final int ERROR_MESSAGEUsed for error messages.- See Also:
-
INFORMATION_MESSAGE
public static final int INFORMATION_MESSAGEUsed for information messages.- See Also:
-
WARNING_MESSAGE
public static final int WARNING_MESSAGEUsed for warning messages.- See Also:
-
QUESTION_MESSAGE
public static final int QUESTION_MESSAGEUsed for questions.- See Also:
-
PLAIN_MESSAGE
public static final int PLAIN_MESSAGENo icon is used.- See Also:
-
YES_OPTION
public static final int YES_OPTIONReturn value from class method if YES is chosen.- See Also:
-
OK_OPTION
public static final int OK_OPTIONReturn value form class method if OK is chosen.- See Also:
-
NO_OPTION
public static final int NO_OPTIONReturn value from class method if NO is chosen.- See Also:
-
CANCEL_OPTION
public static final int CANCEL_OPTIONReturn value from class method if CANCEL is chosen.- See Also:
-
ERROR_OPTION
public static final int ERROR_OPTIONReturn value form class method if a ERROR happens.- See Also:
-
CLOSED_OPTION
public static final int CLOSED_OPTIONReturn value from class method if user closes window without selecting anything, more than likely this should be treated as either aCANCEL_OPTIONorNO_OPTION.- See Also:
-
DEFAULT_OPTION
public static final int DEFAULT_OPTIONType meaning Look and Feel should not supply any options -- only use the options from theJOptionPane.- See Also:
-
YES_NO_OPTION
public static final int YES_NO_OPTIONType used forshowConfirmDialog.- See Also:
-
YES_NO_CANCEL_OPTION
public static final int YES_NO_CANCEL_OPTIONType used forshowConfirmDialog.- See Also:
-
OK_CANCEL_OPTION
public static final int OK_CANCEL_OPTIONType used forshowConfirmDialog.- See Also:
-
-
Method Details
-
showConfirmDialog
-
showConfirmDialog
-