[9:7] extends: FxObj
Represents a JavaFX Tooltip, a UI element that displays additional information when hovering over a node. The Tooltip class allows setting tooltip text and specifying which node to attach it to.
Tooltip (string Val
)
Initializes a new Tooltip instance with the specified text.
Val
Val is a string to set as the text of the tooltip.this
objectinstall (InstallTo
)
Installs the Tooltip on a specified node, so it displays when the user hovers over that node.
InstallTo
The node object to which the tooltip should be attached.this
object for chaining