Class NodeEntity

java.lang.Object
org.jfree.chart.entity.ChartEntity
org.jfree.chart.entity.NodeEntity
All Implemented Interfaces:
Serializable, Cloneable, PublicCloneable

public class NodeEntity
extends ChartEntity
A chart entity representing a node in a FlowPlot.
Since:
1.5.3
See Also:
Serialized Form
  • Constructor Details

    • NodeEntity

      public NodeEntity​(NodeKey key, Shape area, 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​(Shape area, String toolTipText, 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 Details

    • getKey

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

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