net.sf.jguiraffe.gui.platform.javafx.common
the factory for tool tips
Adds a request for creating a tool tip for the specified tool tip property.
Adds a request for creating a tool tip for the specified tool tip property.
the property in which to store the tool tip
the text of the tool tip
Adds a request for creating a tool tip for the specified control.
Adds a request for creating a tool tip for the specified control.
the control
the text of the tool tip
<invalid inheritdoc annotation> This implementation starts the initialization of tool tips asynchronously in the Java FX thread.
<invalid inheritdoc annotation> This implementation starts the initialization of tool tips asynchronously in the Java FX thread.
the factory for tool tips
An internally used helper class for creating the tool tips of controls constructed during a builder operation.
A builder typically runs in a background thread so that the UI is not blocked. This causes problems with Java FX tool tips which can only be created in the Java FX thread. Therefore, the Java FX-specific implementation of the ComponentManager interface does not create and assign tool tips directly. Rather, a task object is created which collects all requests for creating tool tips. After the build operation this task is run as a ComponentBuilderCallBack and handles the initialization of tool tips in the Java FX thread.
If tool tips are involved, an instance of this class is created on demand and stored in the current Jelly context. (This is safe from a threading aspect because the Jelly context is assigned to a single build operation only.) The companion object provides a method for easily obtaining the instance for the current Jelly context. It performs all necessary one-time initialization. Requests for new tool tips can be added to an instance obtained this way.