- java.lang.Object
- 
- javafx.stage.Window
- 
- javafx.stage.PopupWindow
- 
- javafx.scene.control.PopupControl
- 
- javafx.scene.control.Tooltip
 
 
 
 
- 
- All Implemented Interfaces:
- Styleable,- EventTarget,- Skinnable
 
 @IDProperty("id") public class Tooltip extends PopupControlTooltips are common UI elements which are typically used for showing additional information about a Node in the scenegraph when the Node is hovered over by the mouse. Any Node can show a tooltip. In most cases a Tooltip is created and itstextproperty is modified to show plain text to the user. However, a Tooltip is able to show within it an arbitrary scenegraph of nodes - this is done by creating the scenegraph and setting it inside the Tooltipgraphicproperty.You use the following approach to set a Tooltip on any node: Rectangle rect = new Rectangle(0, 0, 100, 100); Tooltip t = new Tooltip("A Square"); Tooltip.install(rect, t);This tooltip will then participate with the typical tooltip semantics (i.e. appearing on hover, etc). Note that the Tooltip does not have to be uninstalled: it will be garbage collected when it is not referenced by any Node. It is possible to manually uninstall the tooltip, however.A single tooltip can be installed on multiple target nodes or multiple controls. Because most Tooltips are shown on UI controls, there is special API for all controls to make installing a Tooltip less verbose. The example below shows how to create a tooltip for a Button control: import javafx.scene.control.Tooltip; import javafx.scene.control.Button; Button button = new Button("Hover Over Me"); button.setTooltip(new Tooltip("Tooltip for Button"));- Since:
- JavaFX 2.0
 
- 
- 
Property SummaryProperties Type Property Description ReadOnlyBooleanPropertyactivatedTypically, the tooltip is "activated" when the mouse moves over a Control.ObjectProperty<ContentDisplay>contentDisplaySpecifies the positioning of the graphic relative to the text.ObjectProperty<Font>fontThe default font to use for text in the Tooltip.ObjectProperty<Node>graphicAn optional icon for the Tooltip.DoublePropertygraphicTextGapThe amount of space between the graphic and textObjectProperty<Duration>hideDelayThe duration in which to continue showing the tooltip after the mouse has left the node.ObjectProperty<Duration>showDelayThe delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user.ObjectProperty<Duration>showDurationThe duration that the tooltip should remain showing for until it is no longer visible to the user.ObjectProperty<TextAlignment>textAlignmentSpecifies the behavior for lines of text when text is multiline.ObjectProperty<OverrunStyle>textOverrunSpecifies the behavior to use if the text of theTooltipexceeds the available space for rendering the text.StringPropertytextThe text to display in the tooltip.BooleanPropertywrapTextIf a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.- 
Properties inherited from class javafx.scene.control.PopupControlid, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, style
 - 
Properties inherited from class javafx.stage.PopupWindowanchorLocation, anchorX, anchorY, autoFix, autoHide, consumeAutoHidingEvents, hideOnEscape, onAutoHide, ownerNode, ownerWindow
 - 
Properties inherited from class javafx.stage.WindoweventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
 
- 
 - 
Nested Class Summary- 
Nested classes/interfaces inherited from class javafx.stage.PopupWindowPopupWindow.AnchorLocation
 
- 
 - 
Field Summary- 
Fields inherited from class javafx.scene.control.PopupControlbridge, USE_COMPUTED_SIZE, USE_PREF_SIZE
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadOnlyBooleanPropertyactivatedProperty()Typically, the tooltip is "activated" when the mouse moves over a Control.ObjectProperty<ContentDisplay>contentDisplayProperty()Specifies the positioning of the graphic relative to the text.protected Skin<?>createDefaultSkin()Create a new instance of the default skin for this control.ObjectProperty<Font>fontProperty()The default font to use for text in the Tooltip.static List<CssMetaData<? extends Styleable,?>>getClassCssMetaData()ContentDisplaygetContentDisplay()Gets the value of the property contentDisplay.List<CssMetaData<? extends Styleable,?>>getCssMetaData()The CssMetaData of this Styleable.FontgetFont()Gets the value of the property font.NodegetGraphic()Gets the value of the property graphic.doublegetGraphicTextGap()Gets the value of the property graphicTextGap.DurationgetHideDelay()Gets the value of the property hideDelay.DurationgetShowDelay()Gets the value of the property showDelay.DurationgetShowDuration()Gets the value of the property showDuration.StyleablegetStyleableParent()Return the parent of this Styleable, or null if there is no parent.StringgetText()Gets the value of the property text.TextAlignmentgetTextAlignment()Gets the value of the property textAlignment.OverrunStylegetTextOverrun()Gets the value of the property textOverrun.ObjectProperty<Node>graphicProperty()An optional icon for the Tooltip.DoublePropertygraphicTextGapProperty()The amount of space between the graphic and textObjectProperty<Duration>hideDelayProperty()The duration in which to continue showing the tooltip after the mouse has left the node.static voidinstall(Node node, Tooltip t)booleanisActivated()Gets the value of the property activated.booleanisWrapText()Gets the value of the property wrapText.voidsetContentDisplay(ContentDisplay value)Sets the value of the property contentDisplay.voidsetFont(Font value)Sets the value of the property font.voidsetGraphic(Node value)Sets the value of the property graphic.voidsetGraphicTextGap(double value)Sets the value of the property graphicTextGap.voidsetHideDelay(Duration hideDelay)Sets the value of the property hideDelay.voidsetShowDelay(Duration showDelay)Sets the value of the property showDelay.voidsetShowDuration(Duration showDuration)Sets the value of the property showDuration.voidsetText(String value)Sets the value of the property text.voidsetTextAlignment(TextAlignment value)Sets the value of the property textAlignment.voidsetTextOverrun(OverrunStyle value)Sets the value of the property textOverrun.voidsetWrapText(boolean value)Sets the value of the property wrapText.ObjectProperty<Duration>showDelayProperty()The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user.ObjectProperty<Duration>showDurationProperty()The duration that the tooltip should remain showing for until it is no longer visible to the user.ObjectProperty<TextAlignment>textAlignmentProperty()Specifies the behavior for lines of text when text is multiline.ObjectProperty<OverrunStyle>textOverrunProperty()Specifies the behavior to use if the text of theTooltipexceeds the available space for rendering the text.StringPropertytextProperty()The text to display in the tooltip.static voiduninstall(Node node, Tooltip t)BooleanPropertywrapTextProperty()If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.- 
Methods inherited from class javafx.scene.control.PopupControlgetId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getPseudoClassStates, getSkin, getStyle, getStyleableNode, getStyleClass, getTypeSelector, idProperty, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, pseudoClassStateChanged, setId, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setStyle, skinProperty, styleProperty
 - 
Methods inherited from class javafx.stage.PopupWindowanchorLocationProperty, anchorXProperty, anchorYProperty, autoFixProperty, autoHideProperty, consumeAutoHidingEventsProperty, getAnchorLocation, getAnchorX, getAnchorY, getConsumeAutoHidingEvents, getOnAutoHide, getOwnerNode, getOwnerWindow, hide, hideOnEscapeProperty, isAutoFix, isAutoHide, isHideOnEscape, onAutoHideProperty, ownerNodeProperty, ownerWindowProperty, setAnchorLocation, setAnchorX, setAnchorY, setAutoFix, setAutoHide, setConsumeAutoHidingEvents, setHideOnEscape, setOnAutoHide, setScene, show, show, show
 - 
Methods inherited from class javafx.stage.WindowaddEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, show, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
 
- 
 
- 
- 
- 
Property Detail- 
textpublic final StringProperty textProperty The text to display in the tooltip. If the text is set to null, an empty string will be displayed, despite the value being null.- See Also:
- getText(),- setText(String)
 
 - 
textAlignmentpublic final ObjectProperty<TextAlignment> textAlignmentProperty Specifies the behavior for lines of text when text is multiline. UnlikecontentDisplaywhich affects the graphic and text, this setting only affects multiple lines of text relative to the text bounds.
 - 
textOverrunpublic final ObjectProperty<OverrunStyle> textOverrunProperty Specifies the behavior to use if the text of theTooltipexceeds the available space for rendering the text.- See Also:
- getTextOverrun(),- setTextOverrun(OverrunStyle)
 
 - 
wrapTextpublic final BooleanProperty wrapTextProperty If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.- See Also:
- isWrapText(),- setWrapText(boolean)
 
 - 
fontpublic final ObjectProperty<Font> fontProperty The default font to use for text in the Tooltip. If the Tooltip's text is rich text then this font may or may not be used depending on the font information embedded in the rich text, but in any case where a default font is required, this font will be used.- See Also:
- getFont(),- setFont(Font)
 
 - 
showDelaypublic final ObjectProperty<Duration> showDelayProperty The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user. The default delay is 1000ms.- Default value:
- 1000ms
- Since:
- 9
- See Also:
- getShowDelay(),- setShowDelay(Duration)
 
 - 
showDurationpublic final ObjectProperty<Duration> showDurationProperty The duration that the tooltip should remain showing for until it is no longer visible to the user. If the mouse leaves the control before the showDuration finishes, then the tooltip will remain showing for the duration specified in thehideDelayProperty(), even if the remaining time of the showDuration is less than the hideDelay duration. The default value is 5000ms.- Default value:
- 5000ms
- Since:
- 9
- See Also:
- getShowDuration(),- setShowDuration(Duration)
 
 - 
hideDelaypublic final ObjectProperty<Duration> hideDelayProperty The duration in which to continue showing the tooltip after the mouse has left the node. Once this time has elapsed the tooltip will hide. The default value is 200ms.- Default value:
- 200ms
- Since:
- 9
- See Also:
- getHideDelay(),- setHideDelay(Duration)
 
 - 
graphicpublic final ObjectProperty<Node> graphicProperty An optional icon for the Tooltip. This can be positioned relative to the text by using thecontent displayproperty. The node specified for this variable cannot appear elsewhere in the scene graph, otherwise theIllegalArgumentExceptionis thrown. See the class description ofNodefor more detail.- See Also:
- getGraphic(),- setGraphic(Node)
 
 - 
contentDisplaypublic final ObjectProperty<ContentDisplay> contentDisplayProperty Specifies the positioning of the graphic relative to the text.
 - 
graphicTextGappublic final DoubleProperty graphicTextGapProperty The amount of space between the graphic and text- See Also:
- getGraphicTextGap(),- setGraphicTextGap(double)
 
 - 
activatedpublic final ReadOnlyBooleanProperty activatedProperty Typically, the tooltip is "activated" when the mouse moves over a Control. There is usually some delay between when the Tooltip becomes "activated" and when it is actually shown. The details (such as the amount of delay, etc) is left to the Skin implementation.- See Also:
- isActivated()
 
 
- 
 - 
Constructor Detail- 
Tooltippublic Tooltip() Creates a tooltip with an empty string for its text.
 - 
Tooltippublic Tooltip(String text) Creates a tooltip with the specified text.- Parameters:
- text- A text string for the tooltip.
 
 
- 
 - 
Method Detail- 
installpublic static void install(Node node, Tooltip t) Associates the givenTooltipwith the givenNode. The tooltip can then behave similar to when it is set on anyControl. A single tooltip can be associated with multiple nodes.- Parameters:
- node- the node
- t- the tooltip
- See Also:
- Tooltip
 
 - 
uninstallpublic static void uninstall(Node node, Tooltip t) Removes the association of the givenTooltipon the specifiedNode. Hence hovering on the node will no longer result in showing of the tooltip.- Parameters:
- node- the node
- t- the tooltip
- See Also:
- Tooltip
 
 - 
textPropertypublic final StringProperty textProperty() The text to display in the tooltip. If the text is set to null, an empty string will be displayed, despite the value being null.- See Also:
- getText(),- setText(String)
 
 - 
setTextpublic final void setText(String value) Sets the value of the property text.- Property description:
- The text to display in the tooltip. If the text is set to null, an empty string will be displayed, despite the value being null.
 
 - 
getTextpublic final String getText() Gets the value of the property text.- Property description:
- The text to display in the tooltip. If the text is set to null, an empty string will be displayed, despite the value being null.
 
 - 
textAlignmentPropertypublic final ObjectProperty<TextAlignment> textAlignmentProperty() Specifies the behavior for lines of text when text is multiline. UnlikecontentDisplaywhich affects the graphic and text, this setting only affects multiple lines of text relative to the text bounds.
 - 
setTextAlignmentpublic final void setTextAlignment(TextAlignment value) Sets the value of the property textAlignment.- Property description:
- Specifies the behavior for lines of text when text is multiline.
 Unlike contentDisplaywhich affects the graphic and text, this setting only affects multiple lines of text relative to the text bounds.
 
 - 
getTextAlignmentpublic final TextAlignment getTextAlignment() Gets the value of the property textAlignment.- Property description:
- Specifies the behavior for lines of text when text is multiline.
 Unlike contentDisplaywhich affects the graphic and text, this setting only affects multiple lines of text relative to the text bounds.
 
 - 
textOverrunPropertypublic final ObjectProperty<OverrunStyle> textOverrunProperty() Specifies the behavior to use if the text of theTooltipexceeds the available space for rendering the text.- See Also:
- getTextOverrun(),- setTextOverrun(OverrunStyle)
 
 - 
setTextOverrunpublic final void setTextOverrun(OverrunStyle value) Sets the value of the property textOverrun.- Property description:
- Specifies the behavior to use if the text of the Tooltipexceeds the available space for rendering the text.
 
 - 
getTextOverrunpublic final OverrunStyle getTextOverrun() Gets the value of the property textOverrun.- Property description:
- Specifies the behavior to use if the text of the Tooltipexceeds the available space for rendering the text.
 
 - 
wrapTextPropertypublic final BooleanProperty wrapTextProperty() If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.- See Also:
- isWrapText(),- setWrapText(boolean)
 
 - 
setWrapTextpublic final void setWrapText(boolean value) Sets the value of the property wrapText.- Property description:
- If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.
 
 - 
isWrapTextpublic final boolean isWrapText() Gets the value of the property wrapText.- Property description:
- If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.
 
 - 
fontPropertypublic final ObjectProperty<Font> fontProperty() The default font to use for text in the Tooltip. If the Tooltip's text is rich text then this font may or may not be used depending on the font information embedded in the rich text, but in any case where a default font is required, this font will be used.- See Also:
- getFont(),- setFont(Font)
 
 - 
setFontpublic final void setFont(Font value) Sets the value of the property font.- Property description:
- The default font to use for text in the Tooltip. If the Tooltip's text is rich text then this font may or may not be used depending on the font information embedded in the rich text, but in any case where a default font is required, this font will be used.
 
 - 
getFontpublic final Font getFont() Gets the value of the property font.- Property description:
- The default font to use for text in the Tooltip. If the Tooltip's text is rich text then this font may or may not be used depending on the font information embedded in the rich text, but in any case where a default font is required, this font will be used.
 
 - 
showDelayPropertypublic final ObjectProperty<Duration> showDelayProperty() The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user. The default delay is 1000ms.- Default value:
- 1000ms
- Since:
- 9
- See Also:
- getShowDelay(),- setShowDelay(Duration)
 
 - 
setShowDelaypublic final void setShowDelay(Duration showDelay) Sets the value of the property showDelay.- Property description:
- The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user. The default delay is 1000ms.
- Default value:
- 1000ms
- Since:
- 9
 
 - 
getShowDelaypublic final Duration getShowDelay() Gets the value of the property showDelay.- Property description:
- The delay between the mouse entering the hovered node and when the associated tooltip will be shown to the user. The default delay is 1000ms.
- Default value:
- 1000ms
- Since:
- 9
 
 - 
showDurationPropertypublic final ObjectProperty<Duration> showDurationProperty() The duration that the tooltip should remain showing for until it is no longer visible to the user. If the mouse leaves the control before the showDuration finishes, then the tooltip will remain showing for the duration specified in thehideDelayProperty(), even if the remaining time of the showDuration is less than the hideDelay duration. The default value is 5000ms.- Default value:
- 5000ms
- Since:
- 9
- See Also:
- getShowDuration(),- setShowDuration(Duration)
 
 - 
setShowDurationpublic final void setShowDuration(Duration showDuration) Sets the value of the property showDuration.- Property description:
- The duration that the tooltip should remain showing for until it is no longer visible to the user.
 If the mouse leaves the control before the showDuration finishes, then the tooltip will remain showing
 for the duration specified in the hideDelayProperty(), even if the remaining time of the showDuration is less than the hideDelay duration. The default value is 5000ms.
- Default value:
- 5000ms
- Since:
- 9
 
 - 
getShowDurationpublic final Duration getShowDuration() Gets the value of the property showDuration.- Property description:
- The duration that the tooltip should remain showing for until it is no longer visible to the user.
 If the mouse leaves the control before the showDuration finishes, then the tooltip will remain showing
 for the duration specified in the hideDelayProperty(), even if the remaining time of the showDuration is less than the hideDelay duration. The default value is 5000ms.
- Default value:
- 5000ms
- Since:
- 9
 
 - 
hideDelayPropertypublic final ObjectProperty<Duration> hideDelayProperty() The duration in which to continue showing the tooltip after the mouse has left the node. Once this time has elapsed the tooltip will hide. The default value is 200ms.- Default value:
- 200ms
- Since:
- 9
- See Also:
- getHideDelay(),- setHideDelay(Duration)
 
 - 
setHideDelaypublic final void setHideDelay(Duration hideDelay) Sets the value of the property hideDelay.- Property description:
- The duration in which to continue showing the tooltip after the mouse has left the node. Once this time has elapsed the tooltip will hide. The default value is 200ms.
- Default value:
- 200ms
- Since:
- 9
 
 - 
getHideDelaypublic final Duration getHideDelay() Gets the value of the property hideDelay.- Property description:
- The duration in which to continue showing the tooltip after the mouse has left the node. Once this time has elapsed the tooltip will hide. The default value is 200ms.
- Default value:
- 200ms
- Since:
- 9
 
 - 
graphicPropertypublic final ObjectProperty<Node> graphicProperty() An optional icon for the Tooltip. This can be positioned relative to the text by using thecontent displayproperty. The node specified for this variable cannot appear elsewhere in the scene graph, otherwise theIllegalArgumentExceptionis thrown. See the class description ofNodefor more detail.- See Also:
- getGraphic(),- setGraphic(Node)
 
 - 
setGraphicpublic final void setGraphic(Node value) Sets the value of the property graphic.- Property description:
- An optional icon for the Tooltip. This can be positioned relative to the
 text by using the content displayproperty. The node specified for this variable cannot appear elsewhere in the scene graph, otherwise theIllegalArgumentExceptionis thrown. See the class description ofNodefor more detail.
 
 - 
getGraphicpublic final Node getGraphic() Gets the value of the property graphic.- Property description:
- An optional icon for the Tooltip. This can be positioned relative to the
 text by using the content displayproperty. The node specified for this variable cannot appear elsewhere in the scene graph, otherwise theIllegalArgumentExceptionis thrown. See the class description ofNodefor more detail.
 
 - 
contentDisplayPropertypublic final ObjectProperty<ContentDisplay> contentDisplayProperty() Specifies the positioning of the graphic relative to the text.
 - 
setContentDisplaypublic final void setContentDisplay(ContentDisplay value) Sets the value of the property contentDisplay.- Property description:
- Specifies the positioning of the graphic relative to the text.
 
 - 
getContentDisplaypublic final ContentDisplay getContentDisplay() Gets the value of the property contentDisplay.- Property description:
- Specifies the positioning of the graphic relative to the text.
 
 - 
graphicTextGapPropertypublic final DoubleProperty graphicTextGapProperty() The amount of space between the graphic and text- See Also:
- getGraphicTextGap(),- setGraphicTextGap(double)
 
 - 
setGraphicTextGappublic final void setGraphicTextGap(double value) Sets the value of the property graphicTextGap.- Property description:
- The amount of space between the graphic and text
 
 - 
getGraphicTextGappublic final double getGraphicTextGap() Gets the value of the property graphicTextGap.- Property description:
- The amount of space between the graphic and text
 
 - 
isActivatedpublic final boolean isActivated() Gets the value of the property activated.- Property description:
- Typically, the tooltip is "activated" when the mouse moves over a Control. There is usually some delay between when the Tooltip becomes "activated" and when it is actually shown. The details (such as the amount of delay, etc) is left to the Skin implementation.
 
 - 
activatedPropertypublic final ReadOnlyBooleanProperty activatedProperty() Typically, the tooltip is "activated" when the mouse moves over a Control. There is usually some delay between when the Tooltip becomes "activated" and when it is actually shown. The details (such as the amount of delay, etc) is left to the Skin implementation.- See Also:
- isActivated()
 
 - 
createDefaultSkinprotected Skin<?> createDefaultSkin() Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS-fx-skinor set explicitly in a sub-class withsetSkin(...).- Overrides:
- createDefaultSkinin class- PopupControl
- Returns:
- new instance of default skin for this control. If null then the control will have no skin unless one is provided by css.
 
 - 
getClassCssMetaDatapublic static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData() - Returns:
- The CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
- Since:
- JavaFX 8.0
 
 - 
getCssMetaDatapublic List<CssMetaData<? extends Styleable,?>> getCssMetaData() The CssMetaData of this Styleable. This may be returned as an unmodifiable list.- Specified by:
- getCssMetaDatain interface- Styleable
- Overrides:
- getCssMetaDatain class- PopupControl
- Returns:
- the CssMetaData
- Since:
- JavaFX 8.0
 
 - 
getStyleableParentpublic Styleable getStyleableParent() Description copied from class:PopupControlReturn the parent of this Styleable, or null if there is no parent. A PopupControl's styles are based on the popup "owner" which is theownerNodeor, if the ownerNode is not set, the root of theownerWindow'sscene. If the popup has not been shown, both ownerNode and ownerWindow will be null andnullwill be returned. Note that the PopupWindow's scene root is not returned because there is no way to guarantee that the PopupWindow's scene root would properly return the ownerNode or ownerWindow.- Specified by:
- getStyleableParentin interface- Styleable
- Overrides:
- getStyleableParentin class- PopupControl
- Returns:
- PopupWindow.getOwnerNode(),- PopupWindow.getOwnerWindow(), or null.
 
 
- 
 
-