The ToolTipFactory for creating tool tips.
The ToolTipFactory for creating tool tips. This field has to be defined by the classes mixing in this trait.
Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given control to it.
Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given control to it.
the tag
the control for which the tooltip is for
the text of the tooltip
Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given property to it.
Obtains a helper object for tooltip creation from the JellyContext of the specified tag and adds a request for the given property to it.
the tag
the property for which the tooltip is for
the text of the tooltip
Adds a request for the creation of a tool tip for the specified control.
Adds a request for the creation of a tool tip for the specified control. The passed in JellyContext is used to obtain the objects required for tooltip creation.
the JellyContext
the control for which the tooltip is for
the text of the tooltip
Adds a request for the creation of a tool tip for the specified property.
Adds a request for the creation of a tool tip for the specified property. The passed in JellyContext is used to obtain the objects required for tooltip creation.
the JellyContext
the property for which the tooltip is for
the text of the tooltip
A trait providing functionality for the creation of tooltips.
During a builder operation multiple manager objects need to create UI components which may have tooltips. In JavaFx the creation of tooltips is a bit more complex because this has to be done in the UI thread. Therefore, tooltips cannot be created directly in a builder operation; rather, the requests for the creation of tooltips are stored and then executed as callbacks. Corresponding functionality is offered by this trait.
Manager classes can simply mix in this trait. They have to provide the ToolTipFactory to be used. Then they can call one of the addCreateToolTipRequest() methods whenever the tooltip for a control needs to be created.