## Uses of Class
javafx.scene.control.Alert.AlertType

- Packages that use Alert.AlertType
  Package | Description
  --- | ---
  javafx.scene.control | 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

    Methods in javafx.scene.control that return Alert.AlertType
    Modifier and Type | Method and Description
    --- | ---
    `Alert.AlertType` | Alert.`getAlertType()` Gets the value of the property alertType.
    `static Alert.AlertType` | Alert.AlertType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Alert.AlertType[]` | Alert.AlertType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in javafx.scene.control that return types with arguments of type Alert.AlertType
    Modifier and Type | Method and Description
    --- | ---
    `ObjectProperty<Alert.AlertType>` | Alert.`alertTypeProperty()` When creating an Alert instance, users must pass in an `Alert.AlertType` enumeration value.

    Methods in javafx.scene.control with parameters of type Alert.AlertType
    Modifier and Type | Method and Description
    --- | ---
    `void` | Alert.`setAlertType(Alert.AlertType alertType)` Sets the value of the property alertType.

    Constructors in javafx.scene.control with parameters of type Alert.AlertType
    Constructor and Description
    `Alert(Alert.AlertType alertType)` Creates an alert with the given AlertType (refer to the `Alert.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 the `Alert.AlertType` documentation for clarification over which one is most appropriate).

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.