Class EdgeLabelPart

    • Constructor Detail

      • EdgeLabelPart

        public EdgeLabelPart()
    • Method Detail

      • getEndPoint

        protected Point getEndPoint()
        Computes the end position for placing a label. The position is interpreted in the parent coordinate system of this part's visual.
        Returns:
        The end position for placing a label.
      • getMidPoint

        protected Point getMidPoint()
        Computes the middle position for placing a label. The position is interpreted in the parent coordinate system of this part's visual.
        Returns:
        The middle position for placing a label.
      • getStartPoint

        protected Point getStartPoint()
        Computes the start position for placing a label. The position is interpreted in the parent coordinate system of this part's visual.
        Returns:
        The start position for placing a label.
      • getTooltipNodes

        protected javafx.scene.control.Tooltip[] getTooltipNodes()
        Array containing the Tooltip nodes of this EdgeLabelPart in the following order:
        • [0]: tooltip node on the label of the edge.
        • [1]: tooltip node on the source label of the edge.
        • [2]: tootlip node on the target label of the edge.
        • [3]: tooltip node on the external label of the edge.
        Returns:
        Array of Tooltips.
        Since:
        5.1
      • refreshTooltip

        protected void refreshTooltip()
        Changes the tooltip of this EdgeLabelPart to the given value.
        Since:
        5.1
      • refreshTooltip

        protected void refreshTooltip​(javafx.scene.control.Tooltip tooltipNode,
                                      java.lang.String tooltip)
        Changes the tooltip of this EdgeLabelPart to the given value.
        Parameters:
        tooltipNode - the tooltip node
        tooltip - the tooltip text
        Since:
        5.1