-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum DialogType extends Enum<DialogType>
Enum for all available alert types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPTION
The EXCEPTION alert type configures the Alert dialog to show an exception stack trace. This includes an 'exception' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.
ERROR
The ERROR alert type configures the Alert dialog to appear in a way that suggests that something has gone wrong. This includes an 'error' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.
CONFIRMATION
The CONFIRMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is seeking confirmation from the user. This includes a 'confirmation' image, an appropriate title and header, and both ButtonType.YES and ButtonType.NO buttons for the user to click on to dismiss the dialog.
WARNING
The WARNING alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is warning the user about some fact or action. This includes a 'warning' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.
INFORMATION
The INFORMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is informing the user of a piece of information. This includes an 'information' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.
NONE
The NONE alert type has the effect of not setting any default properties in the Alert besides an ButtonType.OK button for the user to click on to dismiss the dialog.
-
Method Summary
Modifier and Type Method Description final String
getName()
final Integer
getOrdinal()
-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-