Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > afb4c294e8f553dc8d6909c852dc1564 > files > 850

java-1.8.0-openjfx-1.8.0.76-1.b04.1.1.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Wed Apr 06 14:51:48 UTC 2016 -->
<title>Dialog (JavaFX 8)</title>
<meta name="date" content="2016-04-06">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="Dialog (JavaFX 8)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Dialog.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">JavaFX&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/control/DatePicker.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/control/Dialog.html" target="_top">Frames</a></li>
<li><a href="Dialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javafx.scene.control</div>
<h2 title="Class Dialog" class="title">Class Dialog&lt;R&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javafx.scene.control.Dialog&lt;R&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - The return type of the dialog, via the
            <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a> property.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control">Alert</a>, <a href="../../../javafx/scene/control/ChoiceDialog.html" title="class in javafx.scene.control">ChoiceDialog</a>, <a href="../../../javafx/scene/control/TextInputDialog.html" title="class in javafx.scene.control">TextInputDialog</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">Dialog&lt;R&gt;</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a></pre>
<div class="block">A Dialog in JavaFX wraps a <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> and provides the necessary API
 to present it to end users. In JavaFX 8u40, this essentially means that the
 <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> is shown to users inside a <a href="../../../javafx/stage/Stage.html" title="class in javafx.stage"><code>Stage</code></a>, 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.

 <p>The Dialog class has a single generic type, R, which is used to represent
 the type of the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a> property (and also, how to
 convert from <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> to R, through the use of the
 <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a> <a href="../../../javafx/util/Callback.html" title="interface in javafx.util"><code>Callback</code></a>).

 <p><strong>Critical note:</strong> It is critical that all developers who choose
 to create their own dialogs by extending the Dialog class understand the
 importance of the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a> property.
 A result converter must always be set, whenever the R type is not
 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang"><code>Void</code></a> or <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a>. If this is not heeded, developers will find
 that they get ClassCastExceptions in their code, for failure to convert from
 <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> via the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a>.

 <p>It is likely that most developers would be better served using either the
 <a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a> class (for pre-defined, notification-style alerts), or either of
 the two pre-built dialogs (<a href="../../../javafx/scene/control/TextInputDialog.html" title="class in javafx.scene.control"><code>TextInputDialog</code></a> and <a href="../../../javafx/scene/control/ChoiceDialog.html" title="class in javafx.scene.control"><code>ChoiceDialog</code></a>),
 depending on their needs.

 <p>Once a Dialog is instantiated, the next step is to configure it. Almost
 all properties on Dialog are not related to the content of the Dialog, the
 only exceptions are <a href="../../../javafx/scene/control/Dialog.html#contentTextProperty--"><code>contentTextProperty()</code></a>,
 <a href="../../../javafx/scene/control/Dialog.html#headerTextProperty--"><code>headerTextProperty()</code></a>, and <a href="../../../javafx/scene/control/Dialog.html#graphicProperty--"><code>graphicProperty()</code></a>, and these
 properties are simply forwarding API onto the respective properties on the
 <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> stored in the <a href="../../../javafx/scene/control/Dialog.html#dialogPaneProperty--"><code>dialog pane</code></a>
 property. These three properties are forwarded from DialogPane for developer
 convenience. For developers wanting to configure their dialog, they will in many
 cases be required to use code along the lines of
 <code>dialog.getDialogPane().setExpandableContent(node)</code>.

 <p>After configuring these properties, all that remains is to consider whether
 the buttons (created using <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> and the
 <a href="../../../javafx/scene/control/DialogPane.html#createButton-javafx.scene.control.ButtonType-"><code>DialogPane.createButton(ButtonType)</code></a> method) are fully configured.
 Developers will quickly find that the amount of configurability offered
 via the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> class is minimal. This is intentional, but does not
 mean that developers can not modify the buttons created by the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a>
 that have been specified. To do this, developers simply call the
 <a href="../../../javafx/scene/control/DialogPane.html#lookupButton-javafx.scene.control.ButtonType-"><code>DialogPane.lookupButton(ButtonType)</code></a> method with the ButtonType
 (assuming it has already been set in the <a href="../../../javafx/scene/control/DialogPane.html#getButtonTypes--"><code>DialogPane.getButtonTypes()</code></a>
 list. The returned Node is typically of type <a href="../../../javafx/scene/control/Button.html" title="class in javafx.scene.control"><code>Button</code></a>, but this depends
 on if the <a href="../../../javafx/scene/control/DialogPane.html#createButton-javafx.scene.control.ButtonType-"><code>DialogPane.createButton(ButtonType)</code></a> method has been overridden. A
 typical approach is therefore along the following lines:

 <pre><code> ButtonType loginButtonType = new ButtonType("Login", ButtonData.OK_DONE);
 Dialog&lt;String&gt; dialog = new Dialog&lt;&gt;();
 dialog.getDialogPane().getButtonTypes().add(loginButtonType);
 boolean disabled = false; // computed based on content of text fields, for example
 dialog.getDialogPane().lookupButton(loginButtonType).setDisable(disabled);</code></pre>

 <p>Once a Dialog is instantiated and fully configured, the next step is to
 show it. More often than not, dialogs are shown in a modal and blocking
 fashion. 'Modal' means that the dialog prevents user interaction with the
 owning application whilst it is showing, and 'blocking' means that code
 execution stops at the point in which the dialog is shown. This means that
 you can show a dialog, await the user response, and then continue running the
 code that directly follows the show call, giving developers the ability to
 immediately deal with the user input from the dialog (if relevant).

 <p>JavaFX dialogs are modal by default (you can change this via the
 <a href="../../../javafx/scene/control/Dialog.html#initModality-javafx.stage.Modality-"><code>initModality(javafx.stage.Modality)</code></a> API). To specify whether you want
 blocking or non-blocking dialogs, developers simply choose to call
 <a href="../../../javafx/scene/control/Dialog.html#showAndWait--"><code>showAndWait()</code></a> or <a href="../../../javafx/scene/control/Dialog.html#show--"><code>show()</code></a> (respectively). By default most
 developers should choose to use <a href="../../../javafx/scene/control/Dialog.html#showAndWait--"><code>showAndWait()</code></a>, given the ease of
 coding in these situations. Shown below is three code snippets, showing three
 equally valid ways of showing a dialog:

 <p><strong>Option 1: The 'traditional' approach</strong>
 <pre><code> Optional&lt;ButtonType&gt; result = dialog.showAndWait();
 if (result.isPresent() &amp;&amp; result.get() == ButtonType.OK) {
     formatSystem();
 }</code></pre>

 <p><strong>Option 2: The traditional + Optional approach</strong>
 <pre><code> dialog.showAndWait().ifPresent(response -&gt; {
     if (response == ButtonType.OK) {
         formatSystem();
     }
 });</code></pre>

 <p><strong>Option 3: The fully lambda approach</strong>
 <pre><code> dialog.showAndWait()
      .filter(response -&gt; response == ButtonType.OK)
      .ifPresent(response -&gt; formatSystem());</code></pre>

 <p>There is no better or worse option of the three listed above, so developers
 are encouraged to work to their own style preferences. The purpose of showing
 the above is to help introduce developers to the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util"><code>Optional</code></a> API, which
 is new in Java 8 and may be foreign to many developers.

 <h3>Dialog Validation / Intercepting Button Actions</h3>

 <p>In some circumstances it is desirable to prevent a dialog from closing
 until some aspect of the dialog becomes internally consistent (e.g. a form
 inside the dialog has all fields in a valid state). To do this, users of the
 dialogs API should become familiar with the
 <a href="../../../javafx/scene/control/DialogPane.html#lookupButton-javafx.scene.control.ButtonType-"><code>DialogPane.lookupButton(ButtonType)</code></a> method. By passing in a
 <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> (that has already been set
 in the <a href="../../../javafx/scene/control/DialogPane.html#getButtonTypes--"><code>button types</code></a> list), users will be
 returned a Node that is typically of type <a href="../../../javafx/scene/control/Button.html" title="class in javafx.scene.control"><code>Button</code></a> (but this depends
 on if the <a href="../../../javafx/scene/control/DialogPane.html#createButton-javafx.scene.control.ButtonType-"><code>DialogPane.createButton(ButtonType)</code></a> method has been
 overridden). With this button, users may add an event filter that is called
 before the button does its usual event handling, and as such users may
 prevent the event handling by <code>consuming</code> the event. Here's a simplified
 example:

 <pre><code> final Button btOk = (Button) dlg.getDialogPane().lookupButton(ButtonType.OK);
 btOk.addEventFilter(ActionEvent.ACTION, event -&gt; {
     if (!validateAndStore()) {
         event.consume();
     }
 });</code></pre>

 <h3>Dialog Closing Rules</h3>

 <p>It is important to understand what happens when a Dialog is closed, and
 also how a Dialog can be closed, especially in abnormal closing situations
 (such as when the 'X' button is clicked in a dialogs title bar, or when
 operating system specific keyboard shortcuts (such as alt-F4 on Windows)
 are entered). Fortunately, the outcome is well-defined in these situations,
 and can be best summarised in the following bullet points:

 <ul>
   <li>JavaFX dialogs can only be closed 'abnormally' (as defined above) in
   two situations:
     <ol>
       <li>When the dialog only has one button, or
       <li>When the dialog has multiple buttons, as long as one of them meets
       one of the following requirements:
       <ol>
           <li>The button has a <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> whose <a href="../../../javafx/scene/control/ButtonBar.ButtonData.html" title="enum in javafx.scene.control"><code>ButtonBar.ButtonData</code></a> is of type
           <a href="../../../javafx/scene/control/ButtonBar.ButtonData.html#CANCEL_CLOSE"><code>ButtonBar.ButtonData.CANCEL_CLOSE</code></a>.</li>
           <li>The button has a <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> whose <a href="../../../javafx/scene/control/ButtonBar.ButtonData.html" title="enum in javafx.scene.control"><code>ButtonBar.ButtonData</code></a> returns true
           when <a href="../../../javafx/scene/control/ButtonBar.ButtonData.html#isCancelButton--"><code>ButtonBar.ButtonData.isCancelButton()</code></a> is called.</li>
       </ol>
     </ol>
   <li>In all other situations, the dialog will refuse to respond to all
   close requests, remaining open until the user clicks on one of the available
   buttons in the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> area of the dialog.
   <li>If a dialog is closed abnormally, and if the dialog contains a button
   which meets one of the two criteria above, the dialog will attempt to set
   the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a> property to whatever value is returned
   from calling the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a> with
   the first matching <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a>.
   <li>If for any reason the result converter returns null, or if the dialog
   is closed when only one non-cancel button is present, the
   <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a> property will be null, and the
   <a href="../../../javafx/scene/control/Dialog.html#showAndWait--"><code>showAndWait()</code></a> method will return <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty--" title="class or interface in java.util"><code>Optional.empty()</code></a>. This
   later point means that, if you use either of option 2 or option 3 (as
   presented earlier in this class documentation), the
   <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#ifPresent-java.util.function.Consumer-" title="class or interface in java.util"><code>Optional.ifPresent(java.util.function.Consumer)</code></a> lambda will never
   be called, and code will continue executing as if the dialog had not
   returned any value at all.
 </ul></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8u40</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a>, 
<a href="../../../javafx/scene/control/TextInputDialog.html" title="class in javafx.scene.control"><code>TextInputDialog</code></a>, 
<a href="../../../javafx/scene/control/ChoiceDialog.html" title="class in javafx.scene.control"><code>ChoiceDialog</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== PROPERTY SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="property.summary">
<!--   -->
</a>
<h3>Property Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Type</th>
<th class="colLast" scope="col">Property and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#contentTextProperty">contentText</a></span></code>
<div class="block">A property representing the content text for the dialog pane.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#dialogPaneProperty">dialogPane</a></span></code>
<div class="block">The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#graphicProperty">graphic</a></span></code>
<div class="block">The dialog graphic, presented either in the header, if one is showing, or
 to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#headerTextProperty">headerText</a></span></code>
<div class="block">A property representing the header text for the dialog pane.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#heightProperty">height</a></span></code>
<div class="block">Property representing the height of the dialog.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onCloseRequestProperty">onCloseRequest</a></span></code>
<div class="block">Called when there is an external request to close this <code>Dialog</code>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onHiddenProperty">onHidden</a></span></code>
<div class="block">Called just after the Dialog has been hidden.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onHidingProperty">onHiding</a></span></code>
<div class="block">Called just prior to the Dialog being hidden.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onShowingProperty">onShowing</a></span></code>
<div class="block">Called just prior to the Dialog being shown.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onShownProperty">onShown</a></span></code>
<div class="block">Called just after the Dialog is shown.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resizableProperty">resizable</a></span></code>
<div class="block">Represents whether the dialog is resizable.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty">resultConverter</a></span></code>
<div class="block">API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resultProperty">result</a></span></code>
<div class="block">A property representing what has been returned from the dialog.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyBooleanProperty.html" title="class in javafx.beans.property">ReadOnlyBooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#showingProperty">showing</a></span></code>
<div class="block">Represents whether the dialog is currently showing.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#titleProperty">title</a></span></code>
<div class="block">Return the titleProperty of the dialog.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#widthProperty">width</a></span></code>
<div class="block">Property representing the width of the dialog.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#xProperty">x</a></span></code>
<div class="block">The horizontal location of this <code>Dialog</code>.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#yProperty">y</a></span></code>
<div class="block">The vertical location of this <code>Dialog</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#Dialog--">Dialog</a></span>()</code>
<div class="block">Creates a dialog without a specified owner.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventDispatchChain.html" title="interface in javafx.event">EventDispatchChain</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#buildEventDispatchChain-javafx.event.EventDispatchChain-">buildEventDispatchChain</a></span>(<a href="../../../javafx/event/EventDispatchChain.html" title="interface in javafx.event">EventDispatchChain</a>&nbsp;tail)</code>
<div class="block">Construct an event dispatch chain for this target.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#close--">close</a></span>()</code>
<div class="block">Hides the dialog.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#contentTextProperty--">contentTextProperty</a></span>()</code>
<div class="block">A property representing the content text for the dialog pane.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#dialogPaneProperty--">dialogPaneProperty</a></span>()</code>
<div class="block">The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getContentText--">getContentText</a></span>()</code>
<div class="block">Returns the currently-set content text for this DialogPane.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getDialogPane--">getDialogPane</a></span>()</code>
<div class="block">Gets the value of the property dialogPane.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getGraphic--">getGraphic</a></span>()</code>
<div class="block">Gets the value of the property graphic.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getHeaderText--">getHeaderText</a></span>()</code>
<div class="block">Returns the currently-set header text for this DialogPane.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getHeight--">getHeight</a></span>()</code>
<div class="block">Returns the height of the dialog.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/stage/Modality.html" title="enum in javafx.stage">Modality</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getModality--">getModality</a></span>()</code>
<div class="block">Retrieves the modality attribute for this dialog.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOnCloseRequest--">getOnCloseRequest</a></span>()</code>
<div class="block">Gets the value of the property onCloseRequest.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOnHidden--">getOnHidden</a></span>()</code>
<div class="block">Gets the value of the property onHidden.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOnHiding--">getOnHiding</a></span>()</code>
<div class="block">Gets the value of the property onHiding.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOnShowing--">getOnShowing</a></span>()</code>
<div class="block">Gets the value of the property onShowing.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOnShown--">getOnShown</a></span>()</code>
<div class="block">Gets the value of the property onShown.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getOwner--">getOwner</a></span>()</code>
<div class="block">Retrieves the owner Window for this dialog, or null for an unowned dialog.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getResult--">getResult</a></span>()</code>
<div class="block">Gets the value of the property result.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getResultConverter--">getResultConverter</a></span>()</code>
<div class="block">Gets the value of the property resultConverter.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getTitle--">getTitle</a></span>()</code>
<div class="block">Return the title of the dialog.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getWidth--">getWidth</a></span>()</code>
<div class="block">Returns the width of the dialog.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getX--">getX</a></span>()</code>
<div class="block">Gets the value of the property x.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#getY--">getY</a></span>()</code>
<div class="block">Gets the value of the property y.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#graphicProperty--">graphicProperty</a></span>()</code>
<div class="block">The dialog graphic, presented either in the header, if one is showing, or
 to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#headerTextProperty--">headerTextProperty</a></span>()</code>
<div class="block">A property representing the header text for the dialog pane.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#heightProperty--">heightProperty</a></span>()</code>
<div class="block">Property representing the height of the dialog.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#hide--">hide</a></span>()</code>
<div class="block">closes the dialog.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#initModality-javafx.stage.Modality-">initModality</a></span>(<a href="../../../javafx/stage/Modality.html" title="enum in javafx.stage">Modality</a>&nbsp;modality)</code>
<div class="block">Specifies the modality for this dialog.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#initOwner-javafx.stage.Window-">initOwner</a></span>(<a href="../../../javafx/stage/Window.html" title="class in javafx.stage">Window</a>&nbsp;window)</code>
<div class="block">Specifies the owner <a href="../../../javafx/stage/Window.html" title="class in javafx.stage"><code>Window</code></a> for this dialog, or null for a top-level,
 unowned dialog.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#initStyle-javafx.stage.StageStyle-">initStyle</a></span>(<a href="../../../javafx/stage/StageStyle.html" title="enum in javafx.stage">StageStyle</a>&nbsp;style)</code>
<div class="block">Specifies the style for this dialog.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#isResizable--">isResizable</a></span>()</code>
<div class="block">Returns whether or not the dialog is resizable.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#isShowing--">isShowing</a></span>()</code>
<div class="block">Returns whether or not the dialog is showing.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onCloseRequestProperty--">onCloseRequestProperty</a></span>()</code>
<div class="block">Called when there is an external request to close this <code>Dialog</code>.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onHiddenProperty--">onHiddenProperty</a></span>()</code>
<div class="block">Called just after the Dialog has been hidden.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onHidingProperty--">onHidingProperty</a></span>()</code>
<div class="block">Called just prior to the Dialog being hidden.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onShowingProperty--">onShowingProperty</a></span>()</code>
<div class="block">Called just prior to the Dialog being shown.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#onShownProperty--">onShownProperty</a></span>()</code>
<div class="block">Called just after the Dialog is shown.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resizableProperty--">resizableProperty</a></span>()</code>
<div class="block">Represents whether the dialog is resizable.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--">resultConverterProperty</a></span>()</code>
<div class="block">API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#resultProperty--">resultProperty</a></span>()</code>
<div class="block">A property representing what has been returned from the dialog.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setContentText-java.lang.String-">setContentText</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentText)</code>
<div class="block">Sets the string to show in the dialog content area.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setDialogPane-javafx.scene.control.DialogPane-">setDialogPane</a></span>(<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&nbsp;value)</code>
<div class="block">Sets the value of the property dialogPane.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setGraphic-javafx.scene.Node-">setGraphic</a></span>(<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&nbsp;graphic)</code>
<div class="block">Sets the dialog graphic, which will be displayed either in the header, if
 one is showing, or to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setHeaderText-java.lang.String-">setHeaderText</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;headerText)</code>
<div class="block">Sets the string to show in the dialog header area.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setHeight-double-">setHeight</a></span>(double&nbsp;height)</code>
<div class="block">Sets the height of the dialog.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setOnCloseRequest-javafx.event.EventHandler-">setOnCloseRequest</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property onCloseRequest.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setOnHidden-javafx.event.EventHandler-">setOnHidden</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property onHidden.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setOnHiding-javafx.event.EventHandler-">setOnHiding</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property onHiding.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setOnShowing-javafx.event.EventHandler-">setOnShowing</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property onShowing.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setOnShown-javafx.event.EventHandler-">setOnShown</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property onShown.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setResizable-boolean-">setResizable</a></span>(boolean&nbsp;resizable)</code>
<div class="block">Sets whether the dialog can be resized by the user.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setResult-R-">setResult</a></span>(<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&nbsp;value)</code>
<div class="block">Sets the value of the property result.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setResultConverter-javafx.util.Callback-">setResultConverter</a></span>(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&nbsp;value)</code>
<div class="block">Sets the value of the property resultConverter.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setTitle-java.lang.String-">setTitle</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</code>
<div class="block">Change the Title of the dialog.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setWidth-double-">setWidth</a></span>(double&nbsp;width)</code>
<div class="block">Sets the width of the dialog.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setX-double-">setX</a></span>(double&nbsp;x)</code>
<div class="block">Sets the value of the property x.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#setY-double-">setY</a></span>(double&nbsp;y)</code>
<div class="block">Sets the value of the property y.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#show--">show</a></span>()</code>
<div class="block">Shows the dialog but does not wait for a user response (in other words,
 this brings up a non-blocking dialog).</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#showAndWait--">showAndWait</a></span>()</code>
<div class="block">Shows the dialog and waits for the user response (in other words, brings
 up a blocking dialog, with the returned value the users input).</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyBooleanProperty.html" title="class in javafx.beans.property">ReadOnlyBooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#showingProperty--">showingProperty</a></span>()</code>
<div class="block">Represents whether the dialog is currently showing.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#titleProperty--">titleProperty</a></span>()</code>
<div class="block">Return the titleProperty of the dialog.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#widthProperty--">widthProperty</a></span>()</code>
<div class="block">Property representing the width of the dialog.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#xProperty--">xProperty</a></span>()</code>
<div class="block">The horizontal location of this <code>Dialog</code>.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/control/Dialog.html#yProperty--">yProperty</a></span>()</code>
<div class="block">The vertical location of this <code>Dialog</code>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ PROPERTY DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="property.detail">
<!--   -->
</a>
<h3>Property Detail</h3>
<a name="dialogPaneProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dialogPane</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&gt; dialogPaneProperty</pre>
<div class="block">The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog. As such, it is possible to completely adjust
 the display of the dialog by modifying the existing dialog pane or creating
 a new one.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getDialogPane--"><code>getDialogPane()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setDialogPane-javafx.scene.control.DialogPane-"><code>setDialogPane(DialogPane)</code></a></dd>
</dl>
</li>
</ul>
<a name="contentTextProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contentText</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a> contentTextProperty</pre>
<div class="block">A property representing the content text for the dialog pane. The content text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content node</code></a>, meaning
 that if both the content node and the contentText properties are set, the
 content text will not be displayed in a default DialogPane instance.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getContentText--"><code>getContentText()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setContentText-java.lang.String-"><code>setContentText(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="headerTextProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headerText</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a> headerTextProperty</pre>
<div class="block">A property representing the header text for the dialog pane. The header text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#headerProperty--"><code>header node</code></a>, meaning
 that if both the header node and the headerText properties are set, the
 header text will not be displayed in a default DialogPane instance.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getHeaderText--"><code>getHeaderText()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setHeaderText-java.lang.String-"><code>setHeaderText(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="graphicProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>graphic</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&gt; graphicProperty</pre>
<div class="block">The dialog graphic, presented either in the header, if one is showing, or
 to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getGraphic--"><code>getGraphic()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setGraphic-javafx.scene.Node-"><code>setGraphic(Node)</code></a></dd>
</dl>
</li>
</ul>
<a name="resultProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>result</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt; resultProperty</pre>
<div class="block">A property representing what has been returned from the dialog. A result
 is generated through the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a>,
 which is intended to convert from the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user
 clicked on into a value of type R. Refer to the <a href="../../../javafx/scene/control/Dialog.html" title="class in javafx.scene.control"><code>Dialog</code></a> class
 JavaDoc for more details.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getResult--"><code>getResult()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResult-R-"><code>setResult(R)</code></a></dd>
</dl>
</li>
</ul>
<a name="resultConverterProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultConverter</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&gt; resultConverterProperty</pre>
<div class="block">API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property. This is necessary as <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> represents the visual
 button within the dialog, and do not know how to map themselves to a valid
 result - that is a requirement of the dialog implementation by making use
 of the result converter. In some cases, the result type of a Dialog
 subclass is ButtonType (which means that the result converter can be null),
 but in some cases (where the result type, R, is not ButtonType or Void),
 this callback must be specified.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getResultConverter--"><code>getResultConverter()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResultConverter-javafx.util.Callback-"><code>setResultConverter(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="showingProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showing</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyBooleanProperty.html" title="class in javafx.beans.property">ReadOnlyBooleanProperty</a> showingProperty</pre>
<div class="block">Represents whether the dialog is currently showing.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#isShowing--"><code>isShowing()</code></a></dd>
</dl>
</li>
</ul>
<a name="resizableProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resizable</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> resizableProperty</pre>
<div class="block">Represents whether the dialog is resizable.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#isResizable--"><code>isResizable()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResizable-boolean-"><code>setResizable(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="widthProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>width</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> widthProperty</pre>
<div class="block">Property representing the width of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getWidth--"><code>getWidth()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setWidth-double-"><code>setWidth(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="heightProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>height</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> heightProperty</pre>
<div class="block">Property representing the height of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getHeight--"><code>getHeight()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setHeight-double-"><code>setHeight(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="titleProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>title</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a> titleProperty</pre>
<div class="block">Return the titleProperty of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getTitle--"><code>getTitle()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="xProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>x</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> xProperty</pre>
<div class="block">The horizontal location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> horizontally.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getX--"><code>getX()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setX-double-"><code>setX(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="yProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>y</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> yProperty</pre>
<div class="block">The vertical location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> vertically.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getY--"><code>getY()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setY-double-"><code>setY(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="onShowingProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onShowing</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt; onShowingProperty</pre>
<div class="block">Called just prior to the Dialog being shown.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnShowing--"><code>getOnShowing()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnShowing-javafx.event.EventHandler-"><code>setOnShowing(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onShownProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onShown</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt; onShownProperty</pre>
<div class="block">Called just after the Dialog is shown.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnShown--"><code>getOnShown()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnShown-javafx.event.EventHandler-"><code>setOnShown(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onHidingProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHiding</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt; onHidingProperty</pre>
<div class="block">Called just prior to the Dialog being hidden.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnHiding--"><code>getOnHiding()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnHiding-javafx.event.EventHandler-"><code>setOnHiding(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onHiddenProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHidden</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt; onHiddenProperty</pre>
<div class="block">Called just after the Dialog has been hidden.
 When the <code>Dialog</code> is hidden, this event handler is invoked allowing
 the developer to clean up resources or perform other tasks when the
 <a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a> is closed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnHidden--"><code>getOnHidden()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnHidden-javafx.event.EventHandler-"><code>setOnHidden(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onCloseRequestProperty">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onCloseRequest</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt; onCloseRequestProperty</pre>
<div class="block">Called when there is an external request to close this <code>Dialog</code>.
 The installed event handler can prevent dialog closing by consuming the
 received event.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnCloseRequest--"><code>getOnCloseRequest()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnCloseRequest-javafx.event.EventHandler-"><code>setOnCloseRequest(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="Dialog--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Dialog</h4>
<pre>public&nbsp;Dialog()</pre>
<div class="block">Creates a dialog without a specified owner.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="show--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>show</h4>
<pre>public final&nbsp;void&nbsp;show()</pre>
<div class="block">Shows the dialog but does not wait for a user response (in other words,
 this brings up a non-blocking dialog). Users of this API must either
 poll the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result property</code></a>, or else add a listener
 to the result property to be informed of when it is set.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this method is called on a thread
     other than the JavaFX Application Thread.</dd>
</dl>
</li>
</ul>
<a name="showAndWait--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showAndWait</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&nbsp;showAndWait()</pre>
<div class="block">Shows the dialog and waits for the user response (in other words, brings
 up a blocking dialog, with the returned value the users input).
 <p>
 This method must be called on the JavaFX Application thread.
 Additionally, it must either be called from an input event handler or
 from the run method of a Runnable passed to
 <a href="../../../javafx/application/Platform.html#runLater-java.lang.Runnable-"><code>Platform.runLater</code></a>.
 It must not be called during animation or layout processing.
 </p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util"><code>Optional</code></a> that contains the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>.
         Refer to the <a href="../../../javafx/scene/control/Dialog.html" title="class in javafx.scene.control"><code>Dialog</code></a> class documentation for more detail.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this method is called on a thread
     other than the JavaFX Application Thread.</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this method is called during
     animation or layout processing.</dd>
</dl>
</li>
</ul>
<a name="close--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public final&nbsp;void&nbsp;close()</pre>
<div class="block">Hides the dialog.</div>
</li>
</ul>
<a name="hide--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hide</h4>
<pre>public final&nbsp;void&nbsp;hide()</pre>
<div class="block">closes the dialog.</div>
</li>
</ul>
<a name="initModality-javafx.stage.Modality-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initModality</h4>
<pre>public final&nbsp;void&nbsp;initModality(<a href="../../../javafx/stage/Modality.html" title="enum in javafx.stage">Modality</a>&nbsp;modality)</pre>
<div class="block">Specifies the modality for this dialog. This must be done prior to making
 the dialog visible. The modality is one of: Modality.NONE,
 Modality.WINDOW_MODAL, or Modality.APPLICATION_MODAL.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>Modality.APPLICATION_MODAL</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>modality</code> - the modality for this dialog.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this property is set after the dialog
 has ever been made visible.</dd>
</dl>
</li>
</ul>
<a name="getModality--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModality</h4>
<pre>public final&nbsp;<a href="../../../javafx/stage/Modality.html" title="enum in javafx.stage">Modality</a>&nbsp;getModality()</pre>
<div class="block">Retrieves the modality attribute for this dialog.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the modality.</dd>
</dl>
</li>
</ul>
<a name="initStyle-javafx.stage.StageStyle-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initStyle</h4>
<pre>public final&nbsp;void&nbsp;initStyle(<a href="../../../javafx/stage/StageStyle.html" title="enum in javafx.stage">StageStyle</a>&nbsp;style)</pre>
<div class="block">Specifies the style for this dialog. This must be done prior to making
 the dialog visible. The style is one of: StageStyle.DECORATED,
 StageStyle.UNDECORATED, StageStyle.TRANSPARENT, StageStyle.UTILITY,
 or StageStyle.UNIFIED.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>StageStyle.DECORATED</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>style</code> - the style for this dialog.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this property is set after the dialog
 has ever been made visible.</dd>
</dl>
</li>
</ul>
<a name="initOwner-javafx.stage.Window-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initOwner</h4>
<pre>public final&nbsp;void&nbsp;initOwner(<a href="../../../javafx/stage/Window.html" title="class in javafx.stage">Window</a>&nbsp;window)</pre>
<div class="block">Specifies the owner <a href="../../../javafx/stage/Window.html" title="class in javafx.stage"><code>Window</code></a> for this dialog, or null for a top-level,
 unowned dialog. This must be done prior to making the dialog visible.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>null</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>window</code> - the owner <a href="../../../javafx/stage/Window.html" title="class in javafx.stage"><code>Window</code></a> for this dialog.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if this property is set after the dialog
 has ever been made visible.</dd>
</dl>
</li>
</ul>
<a name="getOwner--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwner</h4>
<pre>public final&nbsp;<a href="../../../javafx/stage/Window.html" title="class in javafx.stage">Window</a>&nbsp;getOwner()</pre>
<div class="block">Retrieves the owner Window for this dialog, or null for an unowned dialog.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the owner Window.</dd>
</dl>
</li>
</ul>
<a name="dialogPaneProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dialogPaneProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&gt;&nbsp;dialogPaneProperty()</pre>
<div class="block">The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog. As such, it is possible to completely adjust
 the display of the dialog by modifying the existing dialog pane or creating
 a new one.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getDialogPane--"><code>getDialogPane()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setDialogPane-javafx.scene.control.DialogPane-"><code>setDialogPane(DialogPane)</code></a></dd>
</dl>
</li>
</ul>
<a name="getDialogPane--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDialogPane</h4>
<pre>public final&nbsp;<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&nbsp;getDialogPane()</pre>
<div class="block">Gets the value of the property dialogPane.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog. As such, it is possible to completely adjust
 the display of the dialog by modifying the existing dialog pane or creating
 a new one.</dd>
</dl>
</li>
</ul>
<a name="setDialogPane-javafx.scene.control.DialogPane-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDialogPane</h4>
<pre>public final&nbsp;void&nbsp;setDialogPane(<a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control">DialogPane</a>&nbsp;value)</pre>
<div class="block">Sets the value of the property dialogPane.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The root node of the dialog, the <a href="../../../javafx/scene/control/DialogPane.html" title="class in javafx.scene.control"><code>DialogPane</code></a> contains all visual
 elements shown in the dialog. As such, it is possible to completely adjust
 the display of the dialog by modifying the existing dialog pane or creating
 a new one.</dd>
</dl>
</li>
</ul>
<a name="contentTextProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contentTextProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a>&nbsp;contentTextProperty()</pre>
<div class="block">A property representing the content text for the dialog pane. The content text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content node</code></a>, meaning
 that if both the content node and the contentText properties are set, the
 content text will not be displayed in a default DialogPane instance.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getContentText--"><code>getContentText()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setContentText-java.lang.String-"><code>setContentText(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="getContentText--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContentText</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getContentText()</pre>
<div class="block">Returns the currently-set content text for this DialogPane.</div>
</li>
</ul>
<a name="setContentText-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContentText</h4>
<pre>public final&nbsp;void&nbsp;setContentText(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentText)</pre>
<div class="block">Sets the string to show in the dialog content area. Note that the content text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content node</code></a>, meaning
 that if both the content node and the contentText properties are set, the
 content text will not be displayed in a default DialogPane instance.</div>
</li>
</ul>
<a name="headerTextProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headerTextProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a>&nbsp;headerTextProperty()</pre>
<div class="block">A property representing the header text for the dialog pane. The header text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#headerProperty--"><code>header node</code></a>, meaning
 that if both the header node and the headerText properties are set, the
 header text will not be displayed in a default DialogPane instance.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getHeaderText--"><code>getHeaderText()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setHeaderText-java.lang.String-"><code>setHeaderText(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="getHeaderText--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderText</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHeaderText()</pre>
<div class="block">Returns the currently-set header text for this DialogPane.</div>
</li>
</ul>
<a name="setHeaderText-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderText</h4>
<pre>public final&nbsp;void&nbsp;setHeaderText(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;headerText)</pre>
<div class="block">Sets the string to show in the dialog header area. Note that the header text
 is lower precedence than the <a href="../../../javafx/scene/control/DialogPane.html#headerProperty--"><code>header node</code></a>, meaning
 that if both the header node and the headerText properties are set, the
 header text will not be displayed in a default DialogPane instance.</div>
</li>
</ul>
<a name="graphicProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>graphicProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&gt;&nbsp;graphicProperty()</pre>
<div class="block">The dialog graphic, presented either in the header, if one is showing, or
 to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getGraphic--"><code>getGraphic()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setGraphic-javafx.scene.Node-"><code>setGraphic(Node)</code></a></dd>
</dl>
</li>
</ul>
<a name="getGraphic--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGraphic</h4>
<pre>public final&nbsp;<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&nbsp;getGraphic()</pre>
<div class="block">Gets the value of the property graphic.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The dialog graphic, presented either in the header, if one is showing, or
 to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</dd>
</dl>
</li>
</ul>
<a name="setGraphic-javafx.scene.Node-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGraphic</h4>
<pre>public final&nbsp;void&nbsp;setGraphic(<a href="../../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>&nbsp;graphic)</pre>
<div class="block">Sets the dialog graphic, which will be displayed either in the header, if
 one is showing, or to the left of the <a href="../../../javafx/scene/control/DialogPane.html#contentProperty--"><code>content</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graphic</code> - The new dialog graphic, or null if no graphic should be shown.</dd>
</dl>
</li>
</ul>
<a name="resultProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&nbsp;resultProperty()</pre>
<div class="block">A property representing what has been returned from the dialog. A result
 is generated through the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a>,
 which is intended to convert from the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user
 clicked on into a value of type R. Refer to the <a href="../../../javafx/scene/control/Dialog.html" title="class in javafx.scene.control"><code>Dialog</code></a> class
 JavaDoc for more details.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getResult--"><code>getResult()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResult-R-"><code>setResult(R)</code></a></dd>
</dl>
</li>
</ul>
<a name="getResult--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResult</h4>
<pre>public final&nbsp;<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&nbsp;getResult()</pre>
<div class="block">Gets the value of the property result.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>A property representing what has been returned from the dialog. A result
 is generated through the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a>,
 which is intended to convert from the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user
 clicked on into a value of type R. Refer to the <a href="../../../javafx/scene/control/Dialog.html" title="class in javafx.scene.control"><code>Dialog</code></a> class
 JavaDoc for more details.</dd>
</dl>
</li>
</ul>
<a name="setResult-java.lang.Object-">
<!--   -->
</a><a name="setResult-R-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResult</h4>
<pre>public final&nbsp;void&nbsp;setResult(<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&nbsp;value)</pre>
<div class="block">Sets the value of the property result.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>A property representing what has been returned from the dialog. A result
 is generated through the <a href="../../../javafx/scene/control/Dialog.html#resultConverterProperty--"><code>result converter</code></a>,
 which is intended to convert from the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user
 clicked on into a value of type R. Refer to the <a href="../../../javafx/scene/control/Dialog.html" title="class in javafx.scene.control"><code>Dialog</code></a> class
 JavaDoc for more details.</dd>
</dl>
</li>
</ul>
<a name="resultConverterProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultConverterProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&gt;&nbsp;resultConverterProperty()</pre>
<div class="block">API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property. This is necessary as <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> represents the visual
 button within the dialog, and do not know how to map themselves to a valid
 result - that is a requirement of the dialog implementation by making use
 of the result converter. In some cases, the result type of a Dialog
 subclass is ButtonType (which means that the result converter can be null),
 but in some cases (where the result type, R, is not ButtonType or Void),
 this callback must be specified.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getResultConverter--"><code>getResultConverter()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResultConverter-javafx.util.Callback-"><code>setResultConverter(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="getResultConverter--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultConverter</h4>
<pre>public final&nbsp;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&nbsp;getResultConverter()</pre>
<div class="block">Gets the value of the property resultConverter.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property. This is necessary as <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> represents the visual
 button within the dialog, and do not know how to map themselves to a valid
 result - that is a requirement of the dialog implementation by making use
 of the result converter. In some cases, the result type of a Dialog
 subclass is ButtonType (which means that the result converter can be null),
 but in some cases (where the result type, R, is not ButtonType or Void),
 this callback must be specified.</dd>
</dl>
</li>
</ul>
<a name="setResultConverter-javafx.util.Callback-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResultConverter</h4>
<pre>public final&nbsp;void&nbsp;setResultConverter(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control">ButtonType</a>,<a href="../../../javafx/scene/control/Dialog.html" title="type parameter in Dialog">R</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property resultConverter.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>API to convert the <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> that the user clicked on into a
 result that can be returned via the <a href="../../../javafx/scene/control/Dialog.html#resultProperty--"><code>result</code></a>
 property. This is necessary as <a href="../../../javafx/scene/control/ButtonType.html" title="class in javafx.scene.control"><code>ButtonType</code></a> represents the visual
 button within the dialog, and do not know how to map themselves to a valid
 result - that is a requirement of the dialog implementation by making use
 of the result converter. In some cases, the result type of a Dialog
 subclass is ButtonType (which means that the result converter can be null),
 but in some cases (where the result type, R, is not ButtonType or Void),
 this callback must be specified.</dd>
</dl>
</li>
</ul>
<a name="showingProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showingProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyBooleanProperty.html" title="class in javafx.beans.property">ReadOnlyBooleanProperty</a>&nbsp;showingProperty()</pre>
<div class="block">Represents whether the dialog is currently showing.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#isShowing--"><code>isShowing()</code></a></dd>
</dl>
</li>
</ul>
<a name="isShowing--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isShowing</h4>
<pre>public final&nbsp;boolean&nbsp;isShowing()</pre>
<div class="block">Returns whether or not the dialog is showing.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if dialog is showing.</dd>
</dl>
</li>
</ul>
<a name="resizableProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resizableProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a>&nbsp;resizableProperty()</pre>
<div class="block">Represents whether the dialog is resizable.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#isResizable--"><code>isResizable()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setResizable-boolean-"><code>setResizable(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="isResizable--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResizable</h4>
<pre>public final&nbsp;boolean&nbsp;isResizable()</pre>
<div class="block">Returns whether or not the dialog is resizable.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if dialog is resizable.</dd>
</dl>
</li>
</ul>
<a name="setResizable-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResizable</h4>
<pre>public final&nbsp;void&nbsp;setResizable(boolean&nbsp;resizable)</pre>
<div class="block">Sets whether the dialog can be resized by the user.
 Resizable dialogs can also be maximized ( maximize button
 becomes visible)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resizable</code> - true if dialog should be resizable.</dd>
</dl>
</li>
</ul>
<a name="widthProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>widthProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a>&nbsp;widthProperty()</pre>
<div class="block">Property representing the width of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getWidth--"><code>getWidth()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setWidth-double-"><code>setWidth(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="getWidth--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWidth</h4>
<pre>public final&nbsp;double&nbsp;getWidth()</pre>
<div class="block">Returns the width of the dialog.</div>
</li>
</ul>
<a name="setWidth-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWidth</h4>
<pre>public final&nbsp;void&nbsp;setWidth(double&nbsp;width)</pre>
<div class="block">Sets the width of the dialog.</div>
</li>
</ul>
<a name="heightProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>heightProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a>&nbsp;heightProperty()</pre>
<div class="block">Property representing the height of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getHeight--"><code>getHeight()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setHeight-double-"><code>setHeight(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="getHeight--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeight</h4>
<pre>public final&nbsp;double&nbsp;getHeight()</pre>
<div class="block">Returns the height of the dialog.</div>
</li>
</ul>
<a name="setHeight-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeight</h4>
<pre>public final&nbsp;void&nbsp;setHeight(double&nbsp;height)</pre>
<div class="block">Sets the height of the dialog.</div>
</li>
</ul>
<a name="titleProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>titleProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a>&nbsp;titleProperty()</pre>
<div class="block">Return the titleProperty of the dialog.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getTitle--"><code>getTitle()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="getTitle--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTitle()</pre>
<div class="block">Return the title of the dialog.</div>
</li>
</ul>
<a name="setTitle-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitle</h4>
<pre>public final&nbsp;void&nbsp;setTitle(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</pre>
<div class="block">Change the Title of the dialog.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - </dd>
</dl>
</li>
</ul>
<a name="getX--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getX</h4>
<pre>public final&nbsp;double&nbsp;getX()</pre>
<div class="block">Gets the value of the property x.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The horizontal location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> horizontally.</dd>
</dl>
</li>
</ul>
<a name="setX-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setX</h4>
<pre>public final&nbsp;void&nbsp;setX(double&nbsp;x)</pre>
<div class="block">Sets the value of the property x.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The horizontal location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> horizontally.</dd>
</dl>
</li>
</ul>
<a name="xProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>xProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a>&nbsp;xProperty()</pre>
<div class="block">The horizontal location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> horizontally.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getX--"><code>getX()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setX-double-"><code>setX(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="getY--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getY</h4>
<pre>public final&nbsp;double&nbsp;getY()</pre>
<div class="block">Gets the value of the property y.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The vertical location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> vertically.</dd>
</dl>
</li>
</ul>
<a name="setY-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setY</h4>
<pre>public final&nbsp;void&nbsp;setY(double&nbsp;y)</pre>
<div class="block">Sets the value of the property y.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The vertical location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> vertically.</dd>
</dl>
</li>
</ul>
<a name="yProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a>&nbsp;yProperty()</pre>
<div class="block">The vertical location of this <code>Dialog</code>. Changing this attribute
 will move the <code>Dialog</code> vertically.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getY--"><code>getY()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setY-double-"><code>setY(double)</code></a></dd>
</dl>
</li>
</ul>
<a name="buildEventDispatchChain-javafx.event.EventDispatchChain-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildEventDispatchChain</h4>
<pre>public&nbsp;<a href="../../../javafx/event/EventDispatchChain.html" title="interface in javafx.event">EventDispatchChain</a>&nbsp;buildEventDispatchChain(<a href="../../../javafx/event/EventDispatchChain.html" title="interface in javafx.event">EventDispatchChain</a>&nbsp;tail)</pre>
<div class="block">Construct an event dispatch chain for this target. The event dispatch
 chain contains event dispatchers which might be interested in processing
 of events targeted at this <code>EventTarget</code>. This event target is
 not automatically added to the chain, so if it wants to process events,
 it needs to add an <code>EventDispatcher</code> for itself to the chain.
 <p>
 In the case the event target is part of some hierarchy, the chain for it
 is usually built from event dispatchers collected from the root of the
 hierarchy to the event target.
 <p>
 The event dispatch chain is constructed by modifications to the provided
 initial event dispatch chain. The returned chain should have the initial
 chain at its end so the dispatchers should be prepended to the initial
 chain.
 <p>
 The caller shouldn't assume that the initial chain remains unchanged nor
 that the returned value will reference a different chain.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../javafx/event/EventTarget.html#buildEventDispatchChain-javafx.event.EventDispatchChain-">buildEventDispatchChain</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tail</code> - the initial chain to build from</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resulting event dispatch chain for this target</dd>
</dl>
</li>
</ul>
<a name="setOnShowing-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnShowing</h4>
<pre>public final&nbsp;void&nbsp;setOnShowing(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property onShowing.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just prior to the Dialog being shown.</dd>
</dl>
</li>
</ul>
<a name="getOnShowing--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnShowing</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;getOnShowing()</pre>
<div class="block">Gets the value of the property onShowing.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just prior to the Dialog being shown.</dd>
</dl>
</li>
</ul>
<a name="onShowingProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onShowingProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;&nbsp;onShowingProperty()</pre>
<div class="block">Called just prior to the Dialog being shown.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnShowing--"><code>getOnShowing()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnShowing-javafx.event.EventHandler-"><code>setOnShowing(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnShown-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnShown</h4>
<pre>public final&nbsp;void&nbsp;setOnShown(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property onShown.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just after the Dialog is shown.</dd>
</dl>
</li>
</ul>
<a name="getOnShown--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnShown</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;getOnShown()</pre>
<div class="block">Gets the value of the property onShown.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just after the Dialog is shown.</dd>
</dl>
</li>
</ul>
<a name="onShownProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onShownProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;&nbsp;onShownProperty()</pre>
<div class="block">Called just after the Dialog is shown.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnShown--"><code>getOnShown()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnShown-javafx.event.EventHandler-"><code>setOnShown(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnHiding-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnHiding</h4>
<pre>public final&nbsp;void&nbsp;setOnHiding(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property onHiding.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just prior to the Dialog being hidden.</dd>
</dl>
</li>
</ul>
<a name="getOnHiding--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnHiding</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;getOnHiding()</pre>
<div class="block">Gets the value of the property onHiding.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just prior to the Dialog being hidden.</dd>
</dl>
</li>
</ul>
<a name="onHidingProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHidingProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;&nbsp;onHidingProperty()</pre>
<div class="block">Called just prior to the Dialog being hidden.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnHiding--"><code>getOnHiding()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnHiding-javafx.event.EventHandler-"><code>setOnHiding(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnHidden-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnHidden</h4>
<pre>public final&nbsp;void&nbsp;setOnHidden(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property onHidden.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just after the Dialog has been hidden.
 When the <code>Dialog</code> is hidden, this event handler is invoked allowing
 the developer to clean up resources or perform other tasks when the
 <a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a> is closed.</dd>
</dl>
</li>
</ul>
<a name="getOnHidden--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnHidden</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;getOnHidden()</pre>
<div class="block">Gets the value of the property onHidden.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called just after the Dialog has been hidden.
 When the <code>Dialog</code> is hidden, this event handler is invoked allowing
 the developer to clean up resources or perform other tasks when the
 <a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a> is closed.</dd>
</dl>
</li>
</ul>
<a name="onHiddenProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onHiddenProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;&nbsp;onHiddenProperty()</pre>
<div class="block">Called just after the Dialog has been hidden.
 When the <code>Dialog</code> is hidden, this event handler is invoked allowing
 the developer to clean up resources or perform other tasks when the
 <a href="../../../javafx/scene/control/Alert.html" title="class in javafx.scene.control"><code>Alert</code></a> is closed.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnHidden--"><code>getOnHidden()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnHidden-javafx.event.EventHandler-"><code>setOnHidden(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnCloseRequest-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnCloseRequest</h4>
<pre>public final&nbsp;void&nbsp;setOnCloseRequest(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;value)</pre>
<div class="block">Sets the value of the property onCloseRequest.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called when there is an external request to close this <code>Dialog</code>.
 The installed event handler can prevent dialog closing by consuming the
 received event.</dd>
</dl>
</li>
</ul>
<a name="getOnCloseRequest--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnCloseRequest</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&nbsp;getOnCloseRequest()</pre>
<div class="block">Gets the value of the property onCloseRequest.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Called when there is an external request to close this <code>Dialog</code>.
 The installed event handler can prevent dialog closing by consuming the
 received event.</dd>
</dl>
</li>
</ul>
<a name="onCloseRequestProperty--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onCloseRequestProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control">DialogEvent</a>&gt;&gt;&nbsp;onCloseRequestProperty()</pre>
<div class="block">Called when there is an external request to close this <code>Dialog</code>.
 The installed event handler can prevent dialog closing by consuming the
 received event.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/control/Dialog.html#getOnCloseRequest--"><code>getOnCloseRequest()</code></a>, 
<a href="../../../javafx/scene/control/Dialog.html#setOnCloseRequest-javafx.event.EventHandler-"><code>setOnCloseRequest(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Dialog.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">JavaFX&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/control/DatePicker.html" title="class in javafx.scene.control"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/control/DialogEvent.html" title="class in javafx.scene.control"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/control/Dialog.html" target="_top">Frames</a></li>
<li><a href="Dialog.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p>
</body>
</html>