public class AboutInfoController extends DialogController<javafx.scene.control.ButtonType>
| Constructor and Description |
|---|
AboutInfoController() |
| Modifier and Type | Method and Description |
|---|---|
AboutInfoController |
addInfo(java.net.URL url)
Add an info message to the dialog.
|
AboutInfoController |
setLogo(javafx.scene.image.Image image)
Set the application logo.
|
protected void |
setupDialog(javafx.scene.control.Dialog<javafx.scene.control.ButtonType> dialog)
This function is called during dialog initialization to perform the actual dialog setup.
|
addButtonEventFilter, getModality, getStyle, getWindow, loadDialog, lookupButton, setupUI, show, showAndWaitgetResources, getUI, loadUIprotected void setupDialog(javafx.scene.control.Dialog<javafx.scene.control.ButtonType> dialog)
DialogControllersetupDialog in class DialogController<javafx.scene.control.ButtonType>dialog - The dialog to setup.public AboutInfoController setLogo(javafx.scene.image.Image image)
image - The logo image to display.public AboutInfoController addInfo(@Nullable java.net.URL url)
The first line of the submitted text resource is used as a title. The remaining lines are displayed as a single text.
If the submitted URL is null or cannot be read, no info message is added to the dialog.
url - The URL of the text resource to add.