public class AboutDialog
extends javafx.scene.control.Dialog
contentTextProperty, dialogPaneProperty, graphicProperty, headerTextProperty, heightProperty, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, showingProperty, titleProperty, widthProperty, xProperty, yProperty| Constructor and Description |
|---|
AboutDialog()
Create a empty about dialog
|
AboutDialog(String titleText,
String aboutText) |
AboutDialog(String titleText,
String aboutText,
String backgroundImageUrl) |
AboutDialog(javafx.stage.Window owner,
String titleText,
String aboutText,
String backgroundImageUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
setBackgroundImage(String imageUrl)
Sets the background image of the dialog with the given URL
|
buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yPropertypublic AboutDialog()
public AboutDialog(String titleText, String aboutText)
titleText - Window titleaboutText - Content textpublic AboutDialog(String titleText, String aboutText, String backgroundImageUrl)
titleText - Window titleaboutText - Content textbackgroundImageUrl - Path to background imagepublic void setBackgroundImage(String imageUrl)
imageUrl - URL to set as background ImageCopyright © 2018. All rights reserved.