![]() |
SudokuFX
|
A styled JavaFX alert dialog with optional sizing and custom appearance. More...
Inheritance diagram for fr.softsf.sudokufx.view.component.MyAlert:
Collaboration diagram for fr.softsf.sudokufx.view.component.MyAlert:Public Member Functions | |
| MyAlert (AlertType alertType) | |
| Creates a styled alert with automatic sizing. | |
| MyAlert (AlertType alertType, Double size) | |
| Creates a styled alert with a fixed size. | |
Private Member Functions | |
| void | initDialog (Double size) |
| Initializes the alert with optional size and visual styling. | |
Static Private Attributes | |
| static final String | ALERT_FONT_CSS |
A styled JavaFX alert dialog with optional sizing and custom appearance.
Applies a radial gradient background, white text, and a custom window icon.
| fr.softsf.sudokufx.view.component.MyAlert.MyAlert | ( | AlertType | alertType | ) |
Creates a styled alert with automatic sizing.
| alertType | the alert type (e.g., INFORMATION, CONFIRMATION) |
| fr.softsf.sudokufx.view.component.MyAlert.MyAlert | ( | AlertType | alertType, |
| Double | size ) |
Creates a styled alert with a fixed size.
| alertType | the alert type (e.g., INFORMATION, CONFIRMATION) |
| size | the fixed width and height for the dialog pane |
Here is the call graph for this function:
|
private |
Initializes the alert with optional size and visual styling.
| size | the optional size; if null, the dialog uses default sizing |
|
staticprivate |