xworker.javafx.control.Dialog.dml Maven / Gradle / Ivy
A Dialog in JavaFX wraps a DialogPane and provides the necessary API to present it to end users. In JavaFX 8u40, this essentially means that the DialogPane is shown to users inside a Stage, but future releases may offer alternative options (such as 'lightweight' or 'internal' dialogs). This API therefore is intentionally ignorant of the underlying implementation, and attempts to present a common API for all possible implementations.
]]>
Return the titleProperty of the dialog.
]]>
A property representing the header text for the dialog pane.
]]>
A property representing the content text for the dialog pane.
]]>
The root node of the dialog, the DialogPane contains all visual elements shown in the dialog.
]]>
The dialog graphic, presented either in the header, if one is showing, or to the left of the content.
]]>
Represents whether the dialog is resizable.
]]>
API to convert the ButtonType that the user clicked on into a result that can be returned via the result property.
]]>
A property representing what has been returned from the dialog.
]]>
API to convert the ButtonType that the user clicked on into a result that can be returned via the result property.
子节点是动作,传入的变量是param: ButtonType,返回Object。
]]>
DialogPane的内容区域,当第一个子节点创建出Node时,后续的子节点不再执行create方法。
]]>