public final class SwingFXOptionPane extends Object
Modifier and Type | Field and 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 a
CANCEL_OPTION or NO_OPTION . |
static int |
DEFAULT_OPTION
Type meaning Look and Feel should not supply any options -- only
use the options from the
JOptionPane . |
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 for
showConfirmDialog . |
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 for
showConfirmDialog . |
static int |
YES_NO_OPTION
Type used for
showConfirmDialog . |
static int |
YES_OPTION
Return value from class method if YES is chosen.
|
Modifier and Type | Method and Description |
---|---|
static int |
showConfirmDialog(Object pParent,
Object pMessage) |
static int |
showConfirmDialog(Object pParent,
Object pMessage,
String pTitle,
int pOptionType,
int pMessageType) |
public static final int ERROR_MESSAGE
public static final int INFORMATION_MESSAGE
public static final int WARNING_MESSAGE
public static final int QUESTION_MESSAGE
public static final int PLAIN_MESSAGE
public static final int YES_OPTION
public static final int OK_OPTION
public static final int NO_OPTION
public static final int CANCEL_OPTION
public static final int ERROR_OPTION
public static final int CLOSED_OPTION
CANCEL_OPTION
or NO_OPTION
.public static final int DEFAULT_OPTION
JOptionPane
.public static final int YES_NO_OPTION
showConfirmDialog
.public static final int YES_NO_CANCEL_OPTION
showConfirmDialog
.public static final int OK_CANCEL_OPTION
showConfirmDialog
.Copyright © 2023. All rights reserved.