Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101131

Today the Tooltip API lets you associate a tooltip with any node, but that tooltip can't be saved in FXML unless the node is a Control.

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx2.0.2
    • Fix Version/s: None
    • Component/s: javafx

      Description

      Tooltip has a Tooltip.install(Node, Tooltip) method which lets you associate a tooltip with any nodes. However, tooltips installed this way can't be saved in FXML, unless the node is a Control. This is because only instances of Control have a getTooltip/setTooltip getter/setter pair. If we want to be able to configure Tooltip graphically on any node from the SceneBuilder UI, we should consider moving the getTooltip/setTooltip getter/setter pair up one level to Node.

        Attachments

          Activity

            People

            • Assignee:
              psomashe Parvathi Somashekar (Inactive)
              Reporter:
              dfuchs Daniel Fuchs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: