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.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • fx2.0.2
    • javafx

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: