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

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

Introduction

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

The text is from its open source code.

Constructor

Tooltip(String text)
Creates a tooltip with the specified text.
Tooltip()
Creates a tooltip with an empty string for its text.

Method

ReadOnlyBooleanPropertyactivatedProperty()
ObjectPropertycontentDisplayProperty()
Specifies the positioning of the graphic relative to the text.
ObjectPropertyfontProperty()
The default font to use for text in the Tooltip.
ContentDisplaygetContentDisplay()
FontgetFont()
NodegetGraphic()
doublegetGraphicTextGap()
StringgetText()
TextAlignmentgetTextAlignment()
OverrunStylegetTextOverrun()
ObjectPropertygraphicProperty()
An optional icon for the Tooltip.
DoublePropertygraphicTextGapProperty()
The amount of space between the graphic and text
voidhide()
Hide this Popup and all its children
voidinstall(Node node, Tooltip t)
Associates the given Tooltip with the given Node .
booleanisActivated()
booleanisShowing()
booleanisWrapText()
voidsetAnchorX(final double value)
voidsetAnchorY(final double value)
voidsetAutoHide(boolean value)
voidsetContentDisplay(ContentDisplay value)
voidsetFont(Font value)
voidsetGraphic(Node value)
voidsetGraphicTextGap(double value)
voidsetStyle(String value)
A string representation of the CSS style associated with this specific PopupControl .
voidsetText(String value)
voidsetTextAlignment(TextAlignment value)
voidsetTextOverrun(OverrunStyle value)
voidsetWrapText(boolean value)
voidshow(Node ownerNode, double anchorX, double anchorY)
Shows the popup at the specified location on the screen.
voidshow(Window owner)
Show the popup.
ObjectPropertytextAlignmentProperty()
Specifies the behavior for lines of text when text is multiline.
ObjectPropertytextOverrunProperty()
Specifies the behavior to use if the text of the Tooltip exceeds the available space for rendering the text.
StringPropertytextProperty()
The text to display in the tooltip.
voiduninstall(Node node, Tooltip t)
Removes the association of the given Tooltip on the specified Node .
BooleanPropertywrapTextProperty()
If a run of text exceeds the width of the Tooltip, then this variable indicates whether the text should wrap onto another line.