Interface TreeMapToolTip<N,​Row,​Column,​Color,​Font>

    • Method Detail

      • setSize

        void setSize​(java.awt.Dimension d)
      • getWidth

        int getWidth()
      • getHeight

        int getHeight()
      • getPopupLocation

        java.awt.Point getPopupLocation()
      • getPreferredLocation

        java.awt.Point getPreferredLocation()
        Gets the preferred location of the tooltip relative to the TreeMapView.
        Returns:
        the preferred location
      • getNode

        N getNode()
        Gets the current node that the tooltip should display information about.
        Returns:
        the current node.
      • setNode

        void setNode​(N node)
        Sets the current node that the tooltip should display information about.
        Parameters:
        node - the node to dislay information about.
      • showNode

        void showNode​(N node)
        Shows the current node that the tooltip should display information about.
        Parameters:
        node - the node to dislay information about.
      • getPreferredWidth

        int getPreferredWidth()
        Gets the preferred width of the tooltip.
        Returns:
        the preferred width.
      • setPreferredWidth

        void setPreferredWidth​(int width)
        Sets the preferred width of the tooltip.
        Parameters:
        width - the preferred width.
      • paintBackground

        void paintBackground​(TGraphics<Color,​Font> g)
        Paints the background of the tooltip.
        Parameters:
        g - a Graphis2D object.
      • paintText

        void paintText​(TGraphics<Color,​Font> g)
        Paints the values and the labels of the tooltip.
        Parameters:
        g - a Graphics2D object.