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.
|
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
void |
Alert.setAlertType(Alert.AlertType alertType)
Sets the value of the property 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). |
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.