- 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 int
CANCEL_OPTION
Return value from class method if CANCEL is chosen.static 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_OPTION
orNO_OPTION
.static int
DEFAULT_OPTION
Type meaning Look and Feel should not supply any options -- only use the options from theJOptionPane
.static int
ERROR_MESSAGE
Used for error messages.static int
ERROR_OPTION
Return value form class method if a ERROR happens.static int
INFORMATION_MESSAGE
Used for information messages.static int
NO_OPTION
Return value from class method if NO is chosen.static int
OK_CANCEL_OPTION
Type used forshowConfirmDialog
.static int
OK_OPTION
Return value form class method if OK is chosen.static int
PLAIN_MESSAGE
No icon is used.static int
QUESTION_MESSAGE
Used for questions.static int
WARNING_MESSAGE
Used for warning messages.static int
YES_NO_CANCEL_OPTION
Type used forshowConfirmDialog
.static int
YES_NO_OPTION
Type used forshowConfirmDialog
.static int
YES_OPTION
Return value from class method if YES is chosen.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
showConfirmDialog(Object pParent, Object pMessage)
static int
showConfirmDialog(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_OPTION
orNO_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
-
-