Module MaterialFX

Class MFXTooltip

All Implemented Interfaces:
MFXStyleablePopup, Styleable, EventTarget, Skinnable

public class MFXTooltip extends MFXPopup
MFXTooltip is a special case of MFXPopup. The content is determined by its skin, and also has a userAgentStylesheet to define the default style for all MFXTooltips.

This tooltip also allows you to add an icon!

This popup adds an handler to the owner node to track the mouse location on the node and then uses those coordinated to show itself.

This is the default behavior but it can be easily changed by setting the showActionProperty().

NOTE that since the content of the context menu is entirely determined by its skin, the MFXPopup.contentProperty() will always be null. As a result methods involving Alignment, HPos or VPos will fail with a NullPointerException.