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, setURLText
public 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 ChartEntity
obj
- the object (null
permitted).public int hashCode()
hashCode
in class ChartEntity
public String toString()
toString
in class ChartEntity
Jas4pp 1.5 © Java Analysis Studio for Particle Physics