java.lang.Object
org.jfree.chart.entity.ChartEntity
org.jfree.chart.entity.NodeEntity
- All Implemented Interfaces:
Serializable
,Cloneable
,PublicCloneable
A chart entity representing a node in a
FlowPlot
.- Since:
- 1.5.3
- See Also:
-
Constructor Summary
ConstructorDescriptionNodeEntity
(Shape area, String toolTipText, String urlText) Creates a new instance.NodeEntity
(NodeKey key, Shape area, String toolTipText) Creates a new instance. -
Method Summary
Methods inherited from class org.jfree.chart.entity.ChartEntity
clone, equals, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, hashCode, setArea, setToolTipText, setURLText
-
Constructor Details
-
NodeEntity
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
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
Returns the node key.- Returns:
- The node key (never
null
).
-
toString
Returns a string representation of this instance, primarily for debugging purposes.- Overrides:
toString
in classChartEntity
- Returns:
- A string.
-