org.jfree.chart.entity

Class CategoryLabelEntity

public class CategoryLabelEntity extends TickLabelEntity

An entity to represent the labels on a CategoryAxis.

Since: 1.0.3

Constructor Summary
CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText)
Creates a new entity.
Method Summary
ComparablegetKey()
Returns the category key.
StringtoString()
Returns a string representation of this entity.

Constructor Detail

CategoryLabelEntity

public CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText)
Creates a new entity.

Parameters: key the category key. area the hotspot. toolTipText the tool tip text. urlText the URL text.

Method Detail

getKey

public Comparable getKey()
Returns the category key.

Returns: The category key.

toString

public String toString()
Returns a string representation of this entity. This is primarily useful for debugging.

Returns: A string representation of this entity.