public class CategoryLabelEntity extends TickLabelEntity
CategoryAxis.| Constructor and Description |
|---|
CategoryLabelEntity(Comparable key,
Shape area,
String toolTipText,
String urlText)
Creates a new entity.
|
| Modifier and Type | Method and Description |
|---|---|
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, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLTextpublic CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText)
key - the category key.area - the hotspot.toolTipText - the tool tip text.urlText - the URL text.public Comparable getKey()
public boolean equals(Object obj)
equals in class ChartEntityobj - the object (null permitted).public int hashCode()
hashCode in class ChartEntitypublic String toString()
toString in class ChartEntityCopyright © 2001–2017 JFree.org. All rights reserved.