public class ShapeDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javafx.scene.control.Alert |
alert |
static javafx.scene.control.ButtonType |
CIRCLE
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
NGON
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
OVAL
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
RECTANGLE
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
SQUARE
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
STAR
The ButtonTypes which will be shown when the user selects a shape
|
static javafx.scene.control.ButtonType |
TUBE
The ButtonTypes which will be shown when the user selects a shape
|
Constructor and Description |
---|
ShapeDialog()
Create a ShapeDialog
|
Modifier and Type | Method and Description |
---|---|
javafx.scene.control.ButtonType |
showAndWait()
Prompts the user for the type of shape they wish to use
|
public static final javafx.scene.control.ButtonType RECTANGLE
public static final javafx.scene.control.ButtonType SQUARE
public static final javafx.scene.control.ButtonType OVAL
public static final javafx.scene.control.ButtonType CIRCLE
public static final javafx.scene.control.ButtonType STAR
public static final javafx.scene.control.ButtonType TUBE
public static final javafx.scene.control.ButtonType NGON
private javafx.scene.control.Alert alert