Uses of Enum Class
javafx.scene.control.Alert.AlertType
Package
Description
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
-
Uses of Alert.AlertType in javafx.scene.control
Modifier and TypeMethodDescriptionfinal Alert.AlertType
Alert.getAlertType()
Gets the value of the property alertType.static Alert.AlertType
Returns the enum constant of this class with the specified name.static Alert.AlertType[]
Alert.AlertType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionfinal ObjectProperty<Alert.AlertType>
Alert.alertTypeProperty()
When creating an Alert instance, users must pass in anAlert.AlertType
enumeration value.Modifier and TypeMethodDescriptionfinal void
Alert.setAlertType
(Alert.AlertType alertType) Sets the value of the property alertType.ModifierConstructorDescriptionAlert
(Alert.AlertType alertType) Creates an alert with the given AlertType (refer to theAlert.AlertType
documentation for clarification over which one is most appropriate).Alert
(Alert.AlertType alertType, String contentText, ButtonType... buttons) Creates an alert with the given contentText, ButtonTypes, and AlertType (refer to theAlert.AlertType
documentation for clarification over which one is most appropriate).