Java javafx.scene.control Alert fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.control Alert fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.control Alert.

The text is from its open source code.

Subclass

javafx.scene.control.Alert has subclasses.
Click this link to see all its subclasses.

Constructor

Alert(@NamedArg("alertType") AlertType alertType)
Creates an alert with the given AlertType (refer to the AlertType documentation for clarification over which one is most appropriate).
Alert(@NamedArg("alertType") AlertType alertType, @NamedArg("contentText") String contentText, @NamedArg("buttonTypes") ButtonType... buttons)
Creates an alert with the given contentText, ButtonTypes, and AlertType (refer to the AlertType documentation for clarification over which one is most appropriate).

Method

ObservableListgetButtonTypes()
Returns an ObservableList of all ButtonType instances that are currently set inside this Alert instance.