org.jfree.chart.entity
Class CategoryLabelEntity
- Cloneable, PublicCloneable, Serializable
CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText) - Creates a new entity.
|
Comparable | getKey() - Returns the category key.
|
String | toString() - Returns a string representation of this entity.
|
clone , equals , getArea , getImageMapAreaTag , getShapeCoords , getShapeType , getToolTipText , getURLText , setArea , setToolTipText , setURLText , toString |
CategoryLabelEntity
public CategoryLabelEntity(Comparable key,
Shape area,
String toolTipText,
String urlText)
Creates a new entity.
key
- the category key.area
- the hotspot.toolTipText
- the tool tip text.urlText
- the URL text.
getKey
public Comparable getKey()
Returns the category key.
toString
public String toString()
Returns a string representation of this entity. This is primarily
useful for debugging.
- toString in interface ChartEntity
- A string representation of this entity.