<!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 Fri Apr 22 13:46:54 UTC 2016 --> <title>PopupWindow (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <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="PopupWindow (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}; 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}; 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/PopupWindow.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 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/stage/Popup.html" title="class in javafx.stage"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/stage/PopupWindow.html" target="_top">Frames</a></li> <li><a href="PopupWindow.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../allclasses-noframe.html">All 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: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </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.stage</div> <h2 title="Class PopupWindow" class="title">Class PopupWindow</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><a href="../../javafx/stage/Window.html" title="class in javafx.stage">javafx.stage.Window</a></li> <li> <ul class="inheritance"> <li>javafx.stage.PopupWindow</li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <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/stage/Popup.html" title="class in javafx.stage">Popup</a>, <a href="../../javafx/scene/control/PopupControl.html" title="class in javafx.scene.control">PopupControl</a></dd> </dl> <hr> <br> <pre>public abstract class <span class="typeNameLabel">PopupWindow</span> extends <a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></pre> <div class="block">PopupWindow is the parent for a variety of different types of popup based windows including <a href="../../javafx/stage/Popup.html" title="class in javafx.stage"><code>Popup</code></a> and <a href="../../javafx/scene/control/Tooltip.html" title="class in javafx.scene.control"><code>Tooltip</code></a> and <a href="../../javafx/scene/control/ContextMenu.html" title="class in javafx.scene.control"><code>ContextMenu</code></a>. <p> A PopupWindow is a secondary window which has no window decorations or title bar. It doesn't show up in the OS as a top-level window. It is typically used for tool tip like notification, drop down boxes, menus, and so forth. <p> The PopupWindow <strong>cannot be shown without an owner</strong>. PopupWindows require that an owner window exist in order to be shown. However, it is possible to create a PopupWindow ahead of time and simply set the owner (or change the owner) before first being made visible. Attempting to change the owner while the PopupWindow is visible will result in an IllegalStateException. <p> The PopupWindow encapsulates much of the behavior and functionality common to popups, such as the ability to close when the "esc" key is pressed, or the ability to hide all child popup windows whenever this window is hidden. These abilities can be enabled or disabled via properties.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#anchorLocationProperty">anchorLocation</a></span></code> <div class="block">Specifies the popup anchor point which is used in popup positioning.</div> </td> </tr> <tr id="i1" 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/stage/PopupWindow.html#anchorXProperty">anchorX</a></span></code> <div class="block">Specifies the x coordinate of the popup anchor point on the screen.</div> </td> </tr> <tr id="i2" 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/stage/PopupWindow.html#anchorYProperty">anchorY</a></span></code> <div class="block">Specifies the y coordinate of the popup anchor point on the screen.</div> </td> </tr> <tr id="i3" class="rowColor"> <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/stage/PopupWindow.html#autoFixProperty">autoFix</a></span></code> <div class="block">This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</div> </td> </tr> <tr id="i4" 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/stage/PopupWindow.html#autoHideProperty">autoHide</a></span></code> <div class="block">Specifies whether Popups should auto hide.</div> </td> </tr> <tr id="i5" class="rowColor"> <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/stage/PopupWindow.html#consumeAutoHidingEventsProperty">consumeAutoHidingEvents</a></span></code> <div class="block">Specifies whether the event, which caused the Popup to hide, should be consumed.</div> </td> </tr> <tr id="i6" 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/stage/PopupWindow.html#hideOnEscapeProperty">hideOnEscape</a></span></code> <div class="block">Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</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><<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#onAutoHideProperty">onAutoHide</a></span></code> <div class="block">Called after autoHide is run.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<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/stage/PopupWindow.html#ownerNodeProperty">ownerNode</a></span></code> <div class="block">The node which is the owner of this popup.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<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/stage/PopupWindow.html#ownerWindowProperty">ownerWindow</a></span></code> <div class="block">The window which is the parent of this popup.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="properties.inherited.from.class.javafx.stage.Window"> <!-- --> </a> <h3>Properties inherited from class javafx.stage.<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></h3> <code><a href="../../javafx/stage/Window.html#eventDispatcherProperty">eventDispatcher</a>, <a href="../../javafx/stage/Window.html#focusedProperty">focused</a>, <a href="../../javafx/stage/Window.html#heightProperty">height</a>, <a href="../../javafx/stage/Window.html#onCloseRequestProperty">onCloseRequest</a>, <a href="../../javafx/stage/Window.html#onHiddenProperty">onHidden</a>, <a href="../../javafx/stage/Window.html#onHidingProperty">onHiding</a>, <a href="../../javafx/stage/Window.html#onShowingProperty">onShowing</a>, <a href="../../javafx/stage/Window.html#onShownProperty">onShown</a>, <a href="../../javafx/stage/Window.html#opacityProperty">opacity</a>, <a href="../../javafx/stage/Window.html#sceneProperty">scene</a>, <a href="../../javafx/stage/Window.html#showingProperty">showing</a>, <a href="../../javafx/stage/Window.html#widthProperty">width</a>, <a href="../../javafx/stage/Window.html#xProperty">x</a>, <a href="../../javafx/stage/Window.html#yProperty">y</a></code></li> </ul> </li> </ul> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a></span></code> <div class="block">Anchor location constants for popup anchor point selection.</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"> </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/stage/PopupWindow.html#PopupWindow--">PopupWindow</a></span>()</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#anchorLocationProperty--">anchorLocationProperty</a></span>()</code> <div class="block">Specifies the popup anchor point which is used in popup positioning.</div> </td> </tr> <tr id="i1" 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/stage/PopupWindow.html#anchorXProperty--">anchorXProperty</a></span>()</code> <div class="block">Specifies the x coordinate of the popup anchor point on the screen.</div> </td> </tr> <tr id="i2" 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/stage/PopupWindow.html#anchorYProperty--">anchorYProperty</a></span>()</code> <div class="block">Specifies the y coordinate of the popup anchor point on the screen.</div> </td> </tr> <tr id="i3" class="rowColor"> <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/stage/PopupWindow.html#autoFixProperty--">autoFixProperty</a></span>()</code> <div class="block">This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</div> </td> </tr> <tr id="i4" 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/stage/PopupWindow.html#autoHideProperty--">autoHideProperty</a></span>()</code> <div class="block">Specifies whether Popups should auto hide.</div> </td> </tr> <tr id="i5" class="rowColor"> <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/stage/PopupWindow.html#consumeAutoHidingEventsProperty--">consumeAutoHidingEventsProperty</a></span>()</code> <div class="block">Specifies whether the event, which caused the Popup to hide, should be consumed.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#getAnchorLocation--">getAnchorLocation</a></span>()</code> <div class="block">Gets the value of the property anchorLocation.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#getAnchorX--">getAnchorX</a></span>()</code> <div class="block">Gets the value of the property anchorX.</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/stage/PopupWindow.html#getAnchorY--">getAnchorY</a></span>()</code> <div class="block">Gets the value of the property anchorY.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#getConsumeAutoHidingEvents--">getConsumeAutoHidingEvents</a></span>()</code> <div class="block">Gets the value of the property consumeAutoHidingEvents.</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><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#getOnAutoHide--">getOnAutoHide</a></span>()</code> <div class="block">Gets the value of the property onAutoHide.</div> </td> </tr> <tr id="i11" class="rowColor"> <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/stage/PopupWindow.html#getOwnerNode--">getOwnerNode</a></span>()</code> <div class="block">Gets the value of the property ownerNode.</div> </td> </tr> <tr id="i12" class="altColor"> <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/stage/PopupWindow.html#getOwnerWindow--">getOwnerWindow</a></span>()</code> <div class="block">Gets the value of the property ownerWindow.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#hide--">hide</a></span>()</code> <div class="block">Hide this Popup and all its children</div> </td> </tr> <tr id="i14" 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/stage/PopupWindow.html#hideOnEscapeProperty--">hideOnEscapeProperty</a></span>()</code> <div class="block">Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#isAutoFix--">isAutoFix</a></span>()</code> <div class="block">Gets the value of the property autoFix.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#isAutoHide--">isAutoHide</a></span>()</code> <div class="block">Gets the value of the property autoHide.</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#isHideOnEscape--">isHideOnEscape</a></span>()</code> <div class="block">Gets the value of the property hideOnEscape.</div> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#onAutoHideProperty--">onAutoHideProperty</a></span>()</code> <div class="block">Called after autoHide is run.</div> </td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<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/stage/PopupWindow.html#ownerNodeProperty--">ownerNodeProperty</a></span>()</code> <div class="block">The node which is the owner of this popup.</div> </td> </tr> <tr id="i20" class="altColor"> <td class="colFirst"><code><a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<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/stage/PopupWindow.html#ownerWindowProperty--">ownerWindowProperty</a></span>()</code> <div class="block">The window which is the parent of this popup.</div> </td> </tr> <tr id="i21" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#setAnchorLocation-javafx.stage.PopupWindow.AnchorLocation-">setAnchorLocation</a></span>(<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a> value)</code> <div class="block">Sets the value of the property anchorLocation.</div> </td> </tr> <tr id="i22" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#setAnchorX-double-">setAnchorX</a></span>(double value)</code> <div class="block">Sets the value of the property anchorX.</div> </td> </tr> <tr id="i23" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#setAnchorY-double-">setAnchorY</a></span>(double value)</code> <div class="block">Sets the value of the property anchorY.</div> </td> </tr> <tr id="i24" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#setAutoFix-boolean-">setAutoFix</a></span>(boolean value)</code> <div class="block">Sets the value of the property autoFix.</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/stage/PopupWindow.html#setAutoHide-boolean-">setAutoHide</a></span>(boolean value)</code> <div class="block">Sets the value of the property autoHide.</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/stage/PopupWindow.html#setConsumeAutoHidingEvents-boolean-">setConsumeAutoHidingEvents</a></span>(boolean value)</code> <div class="block">Sets the value of the property consumeAutoHidingEvents.</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/stage/PopupWindow.html#setHideOnEscape-boolean-">setHideOnEscape</a></span>(boolean value)</code> <div class="block">Sets the value of the property hideOnEscape.</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/stage/PopupWindow.html#setOnAutoHide-javafx.event.EventHandler-">setOnAutoHide</a></span>(<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>> value)</code> <div class="block">Sets the value of the property onAutoHide.</div> </td> </tr> <tr id="i29" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#setScene-javafx.scene.Scene-">setScene</a></span>(<a href="../../javafx/scene/Scene.html" title="class in javafx.scene">Scene</a> scene)</code> <div class="block">Note to subclasses: the scene used by PopupWindow is very specifically managed by PopupWindow.</div> </td> </tr> <tr id="i30" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#show-javafx.scene.Node-double-double-">show</a></span>(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> ownerNode, double anchorX, double anchorY)</code> <div class="block">Shows the popup at the specified location on the screen.</div> </td> </tr> <tr id="i31" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#show-javafx.stage.Window-">show</a></span>(<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a> owner)</code> <div class="block">Show the popup.</div> </td> </tr> <tr id="i32" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/stage/PopupWindow.html#show-javafx.stage.Window-double-double-">show</a></span>(<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a> ownerWindow, double anchorX, double anchorY)</code> <div class="block">Shows the popup at the specified location on the screen.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.javafx.stage.Window"> <!-- --> </a> <h3>Methods inherited from class javafx.stage.<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></h3> <code><a href="../../javafx/stage/Window.html#addEventFilter-javafx.event.EventType-javafx.event.EventHandler-">addEventFilter</a>, <a href="../../javafx/stage/Window.html#addEventHandler-javafx.event.EventType-javafx.event.EventHandler-">addEventHandler</a>, <a href="../../javafx/stage/Window.html#buildEventDispatchChain-javafx.event.EventDispatchChain-">buildEventDispatchChain</a>, <a href="../../javafx/stage/Window.html#centerOnScreen--">centerOnScreen</a>, <a href="../../javafx/stage/Window.html#eventDispatcherProperty--">eventDispatcherProperty</a>, <a href="../../javafx/stage/Window.html#fireEvent-javafx.event.Event-">fireEvent</a>, <a href="../../javafx/stage/Window.html#focusedProperty--">focusedProperty</a>, <a href="../../javafx/stage/Window.html#getEventDispatcher--">getEventDispatcher</a>, <a href="../../javafx/stage/Window.html#getHeight--">getHeight</a>, <a href="../../javafx/stage/Window.html#getOnCloseRequest--">getOnCloseRequest</a>, <a href="../../javafx/stage/Window.html#getOnHidden--">getOnHidden</a>, <a href="../../javafx/stage/Window.html#getOnHiding--">getOnHiding</a>, <a href="../../javafx/stage/Window.html#getOnShowing--">getOnShowing</a>, <a href="../../javafx/stage/Window.html#getOnShown--">getOnShown</a>, <a href="../../javafx/stage/Window.html#getOpacity--">getOpacity</a>, <a href="../../javafx/stage/Window.html#getProperties--">getProperties</a>, <a href="../../javafx/stage/Window.html#getScene--">getScene</a>, <a href="../../javafx/stage/Window.html#getUserData--">getUserData</a>, <a href="../../javafx/stage/Window.html#getWidth--">getWidth</a>, <a href="../../javafx/stage/Window.html#getX--">getX</a>, <a href="../../javafx/stage/Window.html#getY--">getY</a>, <a href="../../javafx/stage/Window.html#hasProperties--">hasProperties</a>, <a href="../../javafx/stage/Window.html#heightProperty--">heightProperty</a>, <a href="../../javafx/stage/Window.html#isFocused--">isFocused</a>, <a href="../../javafx/stage/Window.html#isShowing--">isShowing</a>, <a href="../../javafx/stage/Window.html#onCloseRequestProperty--">onCloseRequestProperty</a>, <a href="../../javafx/stage/Window.html#onHiddenProperty--">onHiddenProperty</a>, <a href="../../javafx/stage/Window.html#onHidingProperty--">onHidingProperty</a>, <a href="../../javafx/stage/Window.html#onShowingProperty--">onShowingProperty</a>, <a href="../../javafx/stage/Window.html#onShownProperty--">onShownProperty</a>, <a href="../../javafx/stage/Window.html#opacityProperty--">opacityProperty</a>, <a href="../../javafx/stage/Window.html#removeEventFilter-javafx.event.EventType-javafx.event.EventHandler-">removeEventFilter</a>, <a href="../../javafx/stage/Window.html#removeEventHandler-javafx.event.EventType-javafx.event.EventHandler-">removeEventHandler</a>, <a href="../../javafx/stage/Window.html#requestFocus--">requestFocus</a>, <a href="../../javafx/stage/Window.html#sceneProperty--">sceneProperty</a>, <a href="../../javafx/stage/Window.html#setEventDispatcher-javafx.event.EventDispatcher-">setEventDispatcher</a>, <a href="../../javafx/stage/Window.html#setEventHandler-javafx.event.EventType-javafx.event.EventHandler-">setEventHandler</a>, <a href="../../javafx/stage/Window.html#setHeight-double-">setHeight</a>, <a href="../../javafx/stage/Window.html#setOnCloseRequest-javafx.event.EventHandler-">setOnCloseRequest</a>, <a href="../../javafx/stage/Window.html#setOnHidden-javafx.event.EventHandler-">setOnHidden</a>, <a href="../../javafx/stage/Window.html#setOnHiding-javafx.event.EventHandler-">setOnHiding</a>, <a href="../../javafx/stage/Window.html#setOnShowing-javafx.event.EventHandler-">setOnShowing</a>, <a href="../../javafx/stage/Window.html#setOnShown-javafx.event.EventHandler-">setOnShown</a>, <a href="../../javafx/stage/Window.html#setOpacity-double-">setOpacity</a>, <a href="../../javafx/stage/Window.html#setUserData-java.lang.Object-">setUserData</a>, <a href="../../javafx/stage/Window.html#setWidth-double-">setWidth</a>, <a href="../../javafx/stage/Window.html#setX-double-">setX</a>, <a href="../../javafx/stage/Window.html#setY-double-">setY</a>, <a href="../../javafx/stage/Window.html#show--">show</a>, <a href="../../javafx/stage/Window.html#showingProperty--">showingProperty</a>, <a href="../../javafx/stage/Window.html#sizeToScene--">sizeToScene</a>, <a href="../../javafx/stage/Window.html#widthProperty--">widthProperty</a>, <a href="../../javafx/stage/Window.html#xProperty--">xProperty</a>, <a href="../../javafx/stage/Window.html#yProperty--">yProperty</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class 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="ownerWindowProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ownerWindow</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a>> ownerWindowProperty</pre> <div class="block">The window which is the parent of this popup. All popups must have an owner window.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOwnerWindow--"><code>getOwnerWindow()</code></a></dd> </dl> </li> </ul> <a name="ownerNodeProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ownerNode</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> ownerNodeProperty</pre> <div class="block">The node which is the owner of this popup. All popups must have an owner window but are not required to be associated with an owner node. If an autohide Popup has an owner node, mouse press inside the owner node doesn't cause the Popup to hide.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOwnerNode--"><code>getOwnerNode()</code></a></dd> </dl> </li> </ul> <a name="autoFixProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>autoFix</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> autoFixProperty</pre> <div class="block">This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isAutoFix--"><code>isAutoFix()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAutoFix-boolean-"><code>setAutoFix(boolean)</code></a></dd> </dl> </li> </ul> <a name="autoHideProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>autoHide</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> autoHideProperty</pre> <div class="block">Specifies whether Popups should auto hide. If a popup loses focus and autoHide is true, then the popup will be hidden automatically. <p> The only exception is when owner Node is specified using <a href="../../javafx/stage/PopupWindow.html#show-javafx.scene.Node-double-double-"><code>show(javafx.scene.Node, double, double)</code></a>. Focusing owner Node will not hide the PopupWindow. </p></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>false</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isAutoHide--"><code>isAutoHide()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAutoHide-boolean-"><code>setAutoHide(boolean)</code></a></dd> </dl> </li> </ul> <a name="onAutoHideProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onAutoHide</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>>> onAutoHideProperty</pre> <div class="block">Called after autoHide is run.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOnAutoHide--"><code>getOnAutoHide()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setOnAutoHide-javafx.event.EventHandler-"><code>setOnAutoHide(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="hideOnEscapeProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hideOnEscape</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> hideOnEscapeProperty</pre> <div class="block">Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isHideOnEscape--"><code>isHideOnEscape()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setHideOnEscape-boolean-"><code>setHideOnEscape(boolean)</code></a></dd> </dl> </li> </ul> <a name="consumeAutoHidingEventsProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>consumeAutoHidingEvents</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> consumeAutoHidingEventsProperty</pre> <div class="block">Specifies whether the event, which caused the Popup to hide, should be consumed. Having the event consumed prevents it from triggering some additional UI response in the Popup's owner window.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.2</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getConsumeAutoHidingEvents--"><code>getConsumeAutoHidingEvents()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setConsumeAutoHidingEvents-boolean-"><code>setConsumeAutoHidingEvents(boolean)</code></a></dd> </dl> </li> </ul> <a name="anchorXProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>anchorX</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> anchorXProperty</pre> <div class="block">Specifies the x coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_BOTTOM_LEFT</code> the <code>x</code> and <code>anchorX</code> values will be identical.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorX--"><code>getAnchorX()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorX-double-"><code>setAnchorX(double)</code></a></dd> </dl> </li> </ul> <a name="anchorYProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>anchorY</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> anchorYProperty</pre> <div class="block">Specifies the y coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_TOP_RIGHT</code> the <code>y</code> and <code>anchorY</code> values will be identical.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorY--"><code>getAnchorY()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorY-double-"><code>setAnchorY(double)</code></a></dd> </dl> </li> </ul> <a name="anchorLocationProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>anchorLocation</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a>> anchorLocationProperty</pre> <div class="block">Specifies the popup anchor point which is used in popup positioning. The point can be set to a corner of the popup window or a corner of its content. In this context the content corners are derived from the popup root node's layout bounds. <p> In general changing of the anchor location won't change the current window position. Instead of that, the <code>anchorX</code> and <code>anchorY</code> values are recalculated to correspond to the new anchor point. </p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorLocation--"><code>getAnchorLocation()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorLocation-javafx.stage.PopupWindow.AnchorLocation-"><code>setAnchorLocation(AnchorLocation)</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="PopupWindow--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>PopupWindow</h4> <pre>public PopupWindow()</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getOwnerWindow--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOwnerWindow</h4> <pre>public final <a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a> getOwnerWindow()</pre> <div class="block">Gets the value of the property ownerWindow.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The window which is the parent of this popup. All popups must have an owner window.</dd> </dl> </li> </ul> <a name="ownerWindowProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ownerWindowProperty</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a>> ownerWindowProperty()</pre> <div class="block">The window which is the parent of this popup. All popups must have an owner window.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOwnerWindow--"><code>getOwnerWindow()</code></a></dd> </dl> </li> </ul> <a name="getOwnerNode--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOwnerNode</h4> <pre>public final <a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> getOwnerNode()</pre> <div class="block">Gets the value of the property ownerNode.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The node which is the owner of this popup. All popups must have an owner window but are not required to be associated with an owner node. If an autohide Popup has an owner node, mouse press inside the owner node doesn't cause the Popup to hide.</dd> </dl> </li> </ul> <a name="ownerNodeProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ownerNodeProperty</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a><<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a>> ownerNodeProperty()</pre> <div class="block">The node which is the owner of this popup. All popups must have an owner window but are not required to be associated with an owner node. If an autohide Popup has an owner node, mouse press inside the owner node doesn't cause the Popup to hide.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOwnerNode--"><code>getOwnerNode()</code></a></dd> </dl> </li> </ul> <a name="setScene-javafx.scene.Scene-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setScene</h4> <pre>protected final void setScene(<a href="../../javafx/scene/Scene.html" title="class in javafx.scene">Scene</a> scene)</pre> <div class="block">Note to subclasses: the scene used by PopupWindow is very specifically managed by PopupWindow. This method is overridden to throw UnsupportedOperationException. You cannot specify your own scene.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../javafx/stage/Window.html#setScene-javafx.scene.Scene-">setScene</a></code> in class <code><a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>scene</code> - </dd> </dl> </li> </ul> <a name="setAutoFix-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAutoFix</h4> <pre>public final void setAutoFix(boolean value)</pre> <div class="block">Sets the value of the property autoFix.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> </dl> </li> </ul> <a name="isAutoFix--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isAutoFix</h4> <pre>public final boolean isAutoFix()</pre> <div class="block">Gets the value of the property autoFix.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> </dl> </li> </ul> <a name="autoFixProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>autoFixProperty</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> autoFixProperty()</pre> <div class="block">This convenience variable indicates whether, when the popup is shown, it should automatically correct its position such that it doesn't end up positioned off the screen.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isAutoFix--"><code>isAutoFix()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAutoFix-boolean-"><code>setAutoFix(boolean)</code></a></dd> </dl> </li> </ul> <a name="setAutoHide-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAutoHide</h4> <pre>public final void setAutoHide(boolean value)</pre> <div class="block">Sets the value of the property autoHide.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether Popups should auto hide. If a popup loses focus and autoHide is true, then the popup will be hidden automatically. <p> The only exception is when owner Node is specified using <a href="../../javafx/stage/PopupWindow.html#show-javafx.scene.Node-double-double-"><code>show(javafx.scene.Node, double, double)</code></a>. Focusing owner Node will not hide the PopupWindow. </p></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>false</dd> </dl> </li> </ul> <a name="isAutoHide--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isAutoHide</h4> <pre>public final boolean isAutoHide()</pre> <div class="block">Gets the value of the property autoHide.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether Popups should auto hide. If a popup loses focus and autoHide is true, then the popup will be hidden automatically. <p> The only exception is when owner Node is specified using <a href="../../javafx/stage/PopupWindow.html#show-javafx.scene.Node-double-double-"><code>show(javafx.scene.Node, double, double)</code></a>. Focusing owner Node will not hide the PopupWindow. </p></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>false</dd> </dl> </li> </ul> <a name="autoHideProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>autoHideProperty</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> autoHideProperty()</pre> <div class="block">Specifies whether Popups should auto hide. If a popup loses focus and autoHide is true, then the popup will be hidden automatically. <p> The only exception is when owner Node is specified using <a href="../../javafx/stage/PopupWindow.html#show-javafx.scene.Node-double-double-"><code>show(javafx.scene.Node, double, double)</code></a>. Focusing owner Node will not hide the PopupWindow. </p></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>false</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isAutoHide--"><code>isAutoHide()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAutoHide-boolean-"><code>setAutoHide(boolean)</code></a></dd> </dl> </li> </ul> <a name="setOnAutoHide-javafx.event.EventHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setOnAutoHide</h4> <pre>public final void setOnAutoHide(<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>> value)</pre> <div class="block">Sets the value of the property onAutoHide.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Called after autoHide is run.</dd> </dl> </li> </ul> <a name="getOnAutoHide--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOnAutoHide</h4> <pre>public final <a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>> getOnAutoHide()</pre> <div class="block">Gets the value of the property onAutoHide.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Called after autoHide is run.</dd> </dl> </li> </ul> <a name="onAutoHideProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>onAutoHideProperty</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a><<a href="../../javafx/event/Event.html" title="class in javafx.event">Event</a>>> onAutoHideProperty()</pre> <div class="block">Called after autoHide is run.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getOnAutoHide--"><code>getOnAutoHide()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setOnAutoHide-javafx.event.EventHandler-"><code>setOnAutoHide(EventHandler)</code></a></dd> </dl> </li> </ul> <a name="setHideOnEscape-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setHideOnEscape</h4> <pre>public final void setHideOnEscape(boolean value)</pre> <div class="block">Sets the value of the property hideOnEscape.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> </dl> </li> </ul> <a name="isHideOnEscape--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isHideOnEscape</h4> <pre>public final boolean isHideOnEscape()</pre> <div class="block">Gets the value of the property hideOnEscape.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> </dl> </li> </ul> <a name="hideOnEscapeProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hideOnEscapeProperty</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> hideOnEscapeProperty()</pre> <div class="block">Specifies whether the PopupWindow should be hidden when an unhandled escape key is pressed while the popup has focus.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#isHideOnEscape--"><code>isHideOnEscape()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setHideOnEscape-boolean-"><code>setHideOnEscape(boolean)</code></a></dd> </dl> </li> </ul> <a name="setConsumeAutoHidingEvents-boolean-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setConsumeAutoHidingEvents</h4> <pre>public final void setConsumeAutoHidingEvents(boolean value)</pre> <div class="block">Sets the value of the property consumeAutoHidingEvents.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether the event, which caused the Popup to hide, should be consumed. Having the event consumed prevents it from triggering some additional UI response in the Popup's owner window.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.2</dd> </dl> </li> </ul> <a name="getConsumeAutoHidingEvents--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getConsumeAutoHidingEvents</h4> <pre>public final boolean getConsumeAutoHidingEvents()</pre> <div class="block">Gets the value of the property consumeAutoHidingEvents.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies whether the event, which caused the Popup to hide, should be consumed. Having the event consumed prevents it from triggering some additional UI response in the Popup's owner window.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.2</dd> </dl> </li> </ul> <a name="consumeAutoHidingEventsProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>consumeAutoHidingEventsProperty</h4> <pre>public final <a href="../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> consumeAutoHidingEventsProperty()</pre> <div class="block">Specifies whether the event, which caused the Popup to hide, should be consumed. Having the event consumed prevents it from triggering some additional UI response in the Popup's owner window.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>true</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.2</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getConsumeAutoHidingEvents--"><code>getConsumeAutoHidingEvents()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setConsumeAutoHidingEvents-boolean-"><code>setConsumeAutoHidingEvents(boolean)</code></a></dd> </dl> </li> </ul> <a name="show-javafx.stage.Window-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>show</h4> <pre>public void show(<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a> owner)</pre> <div class="block">Show the popup.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>owner</code> - The owner of the popup. This must not be null.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if owner is null</dd> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the specified owner window would create cycle in the window hierarchy</dd> </dl> </li> </ul> <a name="show-javafx.scene.Node-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>show</h4> <pre>public void show(<a href="../../javafx/scene/Node.html" title="class in javafx.scene">Node</a> ownerNode, double anchorX, double anchorY)</pre> <div class="block">Shows the popup at the specified location on the screen. The popup window is positioned in such way that its anchor point (<a href="../../javafx/stage/PopupWindow.html#anchorLocation"><code>anchorLocation</code></a>) is displayed at the specified <code>anchorX</code> and <code>anchorY</code> coordinates. <p> The popup is associated with the specified owner node. The <code>Window</code> which contains the owner node at the time of the call becomes an owner window of the displayed popup. </p> <p> Note that when <a href="../../javafx/stage/PopupWindow.html#autoHideProperty--"><code>autoHideProperty()</code></a> is set to true, mouse press on the owner Node will not hide the PopupWindow. </p></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ownerNode</code> - The owner Node of the popup. It must not be null and must be associated with a Window.</dd> <dd><code>anchorX</code> - the x position of the popup anchor in screen coordinates</dd> <dd><code>anchorY</code> - the y position of the popup anchor in screen coordinates</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if ownerNode is null</dd> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the specified owner node is not associated with a Window or when the window would create cycle in the window hierarchy</dd> </dl> </li> </ul> <a name="show-javafx.stage.Window-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>show</h4> <pre>public void show(<a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a> ownerWindow, double anchorX, double anchorY)</pre> <div class="block">Shows the popup at the specified location on the screen. The popup window is positioned in such way that its anchor point (<a href="../../javafx/stage/PopupWindow.html#anchorLocation"><code>anchorLocation</code></a>) is displayed at the specified <code>anchorX</code> and <code>anchorY</code> coordinates.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ownerWindow</code> - The owner of the popup. This must not be null.</dd> <dd><code>anchorX</code> - the x position of the popup anchor in screen coordinates</dd> <dd><code>anchorY</code> - the y position of the popup anchor in screen coordinates</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if ownerWindow is null</dd> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the specified owner window would create cycle in the window hierarchy</dd> </dl> </li> </ul> <a name="hide--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hide</h4> <pre>public void hide()</pre> <div class="block">Hide this Popup and all its children</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../javafx/stage/Window.html#hide--">hide</a></code> in class <code><a href="../../javafx/stage/Window.html" title="class in javafx.stage">Window</a></code></dd> </dl> </li> </ul> <a name="setAnchorX-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAnchorX</h4> <pre>public final void setAnchorX(double value)</pre> <div class="block">Sets the value of the property anchorX.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the x coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_BOTTOM_LEFT</code> the <code>x</code> and <code>anchorX</code> values will be identical.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getAnchorX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAnchorX</h4> <pre>public final double getAnchorX()</pre> <div class="block">Gets the value of the property anchorX.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the x coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_BOTTOM_LEFT</code> the <code>x</code> and <code>anchorX</code> values will be identical.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="anchorXProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>anchorXProperty</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> anchorXProperty()</pre> <div class="block">Specifies the x coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_BOTTOM_LEFT</code> the <code>x</code> and <code>anchorX</code> values will be identical.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorX--"><code>getAnchorX()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorX-double-"><code>setAnchorX(double)</code></a></dd> </dl> </li> </ul> <a name="setAnchorY-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAnchorY</h4> <pre>public final void setAnchorY(double value)</pre> <div class="block">Sets the value of the property anchorY.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the y coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_TOP_RIGHT</code> the <code>y</code> and <code>anchorY</code> values will be identical.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getAnchorY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAnchorY</h4> <pre>public final double getAnchorY()</pre> <div class="block">Gets the value of the property anchorY.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the y coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_TOP_RIGHT</code> the <code>y</code> and <code>anchorY</code> values will be identical.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="anchorYProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>anchorYProperty</h4> <pre>public final <a href="../../javafx/beans/property/ReadOnlyDoubleProperty.html" title="class in javafx.beans.property">ReadOnlyDoubleProperty</a> anchorYProperty()</pre> <div class="block">Specifies the y coordinate of the popup anchor point on the screen. If the <code>anchorLocation</code> is set to <code>WINDOW_TOP_LEFT</code> or <code>WINDOW_TOP_RIGHT</code> the <code>y</code> and <code>anchorY</code> values will be identical.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorY--"><code>getAnchorY()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorY-double-"><code>setAnchorY(double)</code></a></dd> </dl> </li> </ul> <a name="setAnchorLocation-javafx.stage.PopupWindow.AnchorLocation-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAnchorLocation</h4> <pre>public final void setAnchorLocation(<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a> value)</pre> <div class="block">Sets the value of the property anchorLocation.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the popup anchor point which is used in popup positioning. The point can be set to a corner of the popup window or a corner of its content. In this context the content corners are derived from the popup root node's layout bounds. <p> In general changing of the anchor location won't change the current window position. Instead of that, the <code>anchorX</code> and <code>anchorY</code> values are recalculated to correspond to the new anchor point. </p></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getAnchorLocation--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAnchorLocation</h4> <pre>public final <a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a> getAnchorLocation()</pre> <div class="block">Gets the value of the property anchorLocation.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>Specifies the popup anchor point which is used in popup positioning. The point can be set to a corner of the popup window or a corner of its content. In this context the content corners are derived from the popup root node's layout bounds. <p> In general changing of the anchor location won't change the current window position. Instead of that, the <code>anchorX</code> and <code>anchorY</code> values are recalculated to correspond to the new anchor point. </p></dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="anchorLocationProperty--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>anchorLocationProperty</h4> <pre>public final <a href="../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage">PopupWindow.AnchorLocation</a>> anchorLocationProperty()</pre> <div class="block">Specifies the popup anchor point which is used in popup positioning. The point can be set to a corner of the popup window or a corner of its content. In this context the content corners are derived from the popup root node's layout bounds. <p> In general changing of the anchor location won't change the current window position. Instead of that, the <code>anchorX</code> and <code>anchorY</code> values are recalculated to correspond to the new anchor point. </p></div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../javafx/stage/PopupWindow.html#getAnchorLocation--"><code>getAnchorLocation()</code></a>, <a href="../../javafx/stage/PopupWindow.html#setAnchorLocation-javafx.stage.PopupWindow.AnchorLocation-"><code>setAnchorLocation(AnchorLocation)</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/PopupWindow.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 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/stage/Popup.html" title="class in javafx.stage"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/stage/PopupWindow.AnchorLocation.html" title="enum in javafx.stage"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/stage/PopupWindow.html" target="_top">Frames</a></li> <li><a href="PopupWindow.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../allclasses-noframe.html">All 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: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </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>