Example usage for Java javafx.scene.control Tooltip fields, constructors, methods, implement or subclass
The text is from its open source code.
Tooltip(String text) Creates a tooltip with the specified text. | |
Tooltip() Creates a tooltip with an empty string for its text. |
ReadOnlyBooleanProperty | activatedProperty() |
ObjectProperty | contentDisplayProperty() Specifies the positioning of the graphic relative to the text. |
ObjectProperty | fontProperty() The default font to use for text in the Tooltip. |
ContentDisplay | getContentDisplay() |
Font | getFont() |
Node | getGraphic() |
double | getGraphicTextGap() |
String | getText() |
TextAlignment | getTextAlignment() |
OverrunStyle | getTextOverrun() |
ObjectProperty | graphicProperty() An optional icon for the Tooltip. |
DoubleProperty | graphicTextGapProperty() The amount of space between the graphic and text |
void | hide() Hide this Popup and all its children |
void | install(Node node, Tooltip t) Associates the given Tooltip with the given Node . |
boolean | isActivated() |
boolean | isShowing() |
boolean | isWrapText() |
void | setAnchorX(final double value) |
void | setAnchorY(final double value) |
void | setAutoHide(boolean value) |
void | setContentDisplay(ContentDisplay value) |
void | setFont(Font value) |
void | setGraphic(Node value) |
void | setGraphicTextGap(double value) |
void | setStyle(String value) A string representation of the CSS style associated with this specific PopupControl . |
void | setText(String value) |
void | setTextAlignment(TextAlignment value) |
void | setTextOverrun(OverrunStyle value) |
void | setWrapText(boolean value) |
void | show(Node ownerNode, double anchorX, double anchorY) Shows the popup at the specified location on the screen. |
void | show(Window owner) Show the popup. |
ObjectProperty | textAlignmentProperty() Specifies the behavior for lines of text when text is multiline. |
ObjectProperty | textOverrunProperty() Specifies the behavior to use if the text of the Tooltip exceeds the available space for rendering the text. |
StringProperty | textProperty() The text to display in the tooltip. |
void | uninstall(Node node, Tooltip t) Removes the association of the given Tooltip on the specified Node . |
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. |