org.jfree.chart.entity
Class CategoryLabelEntity
- Cloneable, PublicCloneable, Serializable
CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText)- Creates a new entity.
|
boolean | equals(Object obj)- Tests this instance for equality with an arbitrary object.
|
Comparable | getKey()- Returns the category key.
|
int | hashCode()- Returns a hash code for this instance.
|
String | toString()- Returns a string representation of this entity.
|
clone, equals, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, hashCode, 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.
equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
- equals in interface ChartEntity
obj - the object (null permitted).
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.