java.lang.Object
com.iamsoft.util.ui.javafx.SwingFXOptionPane
Class in development.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Return value from class method if CANCEL is chosen.static final int
Return value from class method if user closes window without selecting anything, more than likely this should be treated as either aCANCEL_OPTION
orNO_OPTION
.static final int
Type meaning Look and Feel should not supply any options -- only use the options from theJOptionPane
.static final int
Used for error messages.static final int
Return value form class method if a ERROR happens.static final int
Used for information messages.static final int
Return value from class method if NO is chosen.static final int
Type used forshowConfirmDialog
.static final int
Return value form class method if OK is chosen.static final int
No icon is used.static final int
Used for questions.static final int
Used for warning messages.static final int
Type used forshowConfirmDialog
.static final int
Type used forshowConfirmDialog
.static final int
Return value from class method if YES is chosen. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
showConfirmDialog
(Object pParent, Object pMessage) static int
showConfirmDialog
(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_OPTION
orNO_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
-