- java.lang.Object
-
- com.iamsoft.util.ui.javafx.SwingFXOptionPane
-
public final class SwingFXOptionPane extends Object
Class in development.
-
-
Field Summary
Fields Modifier and Type Field Description static intCANCEL_OPTIONReturn value from class method if CANCEL is chosen.static intCLOSED_OPTIONReturn value from class method if user closes window without selecting anything, more than likely this should be treated as either aCANCEL_OPTIONorNO_OPTION.static intDEFAULT_OPTIONType meaning Look and Feel should not supply any options -- only use the options from theJOptionPane.static intERROR_MESSAGEUsed for error messages.static intERROR_OPTIONReturn value form class method if a ERROR happens.static intINFORMATION_MESSAGEUsed for information messages.static intNO_OPTIONReturn value from class method if NO is chosen.static intOK_CANCEL_OPTIONType used forshowConfirmDialog.static intOK_OPTIONReturn value form class method if OK is chosen.static intPLAIN_MESSAGENo icon is used.static intQUESTION_MESSAGEUsed for questions.static intWARNING_MESSAGEUsed for warning messages.static intYES_NO_CANCEL_OPTIONType used forshowConfirmDialog.static intYES_NO_OPTIONType used forshowConfirmDialog.static intYES_OPTIONReturn value from class method if YES is chosen.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intshowConfirmDialog(Object pParent, Object pMessage)static intshowConfirmDialog(Object pParent, Object pMessage, String pTitle, int pOptionType, int pMessageType)
-
-
-
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
-
PLAIN_MESSAGE
public static final int PLAIN_MESSAGE
No icon is used.- 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 aCANCEL_OPTIONorNO_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 theJOptionPane.- See Also:
- Constant Field Values
-
YES_NO_OPTION
public static final int YES_NO_OPTION
Type used forshowConfirmDialog.- See Also:
- Constant Field Values
-
YES_NO_CANCEL_OPTION
public static final int YES_NO_CANCEL_OPTION
Type used forshowConfirmDialog.- See Also:
- Constant Field Values
-
OK_CANCEL_OPTION
public static final int OK_CANCEL_OPTION
Type used forshowConfirmDialog.- See Also:
- Constant Field Values
-
-