Java javafx.scene.control Dialog fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.control Dialog fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.control Dialog.

The text is from its open source code.

Subclass

javafx.scene.control.Dialog has subclasses.
Click this link to see all its subclasses.

Constructor

Dialog()
Creates a dialog without a specified owner.

Method

DialogPanegetDialogPane()
voidinitModality(Modality modality)
Specifies the modality for this dialog.
voidinitOwner(Window window)
Specifies the owner Window for this dialog, or null for a top-level, unowned dialog.
voidsetContentText(String contentText)
Sets the string to show in the dialog content area.
voidsetGraphic(Node graphic)
Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of the DialogPane#contentProperty() content .
voidsetHeaderText(String headerText)
Sets the string to show in the dialog header area.
voidsetResizable(boolean resizable)
Sets whether the dialog can be resized by the user.
voidsetResultConverter(Callback value)
voidsetTitle(String title)
Change the Title of the dialog.
voidsetX(double x)
voidsetY(double y)
OptionalshowAndWait()
Shows the dialog and waits for the user response (in other words, brings up a blocking dialog, with the returned value the users input).