Class NodeEntity

    • Constructor Detail

      • NodeEntity

        public NodeEntity​(NodeKey key,
                          java.awt.Shape area,
                          java.lang.String toolTipText)
        Creates a new instance.
        Parameters:
        key - the node key (null not permitted).
        area - the outline of the entity (null not permitted).
        toolTipText - the tool tip text.
      • NodeEntity

        public NodeEntity​(java.awt.Shape area,
                          java.lang.String toolTipText,
                          java.lang.String urlText)
        Creates a new instance.
        Parameters:
        area - the outline of the entity (null not permitted).
        toolTipText - the tool tip text.
        urlText - the URL text.
    • Method Detail

      • getKey

        public NodeKey getKey()
        Returns the node key.
        Returns:
        The node key (never null).
      • toString

        public java.lang.String toString()
        Returns a string representation of this instance, primarily for debugging purposes.
        Overrides:
        toString in class ChartEntity
        Returns:
        A string.