public class CategoryLabelEntity extends TickLabelEntity
CategoryAxis
.Constructor and Description |
---|
CategoryLabelEntity(java.lang.Comparable key,
java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.
|
java.lang.Comparable |
getKey()
Returns the category key.
|
int |
hashCode()
Returns a hash code for this instance.
|
java.lang.String |
toString()
Returns a string representation of this entity.
|
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText
public CategoryLabelEntity(java.lang.Comparable key, java.awt.Shape area, java.lang.String toolTipText, java.lang.String urlText)
key
- the category key.area
- the hotspot.toolTipText
- the tool tip text.urlText
- the URL text.public java.lang.Comparable getKey()
public boolean equals(java.lang.Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).public int hashCode()
hashCode
in class ChartEntity
public java.lang.String toString()
toString
in class ChartEntity