public class

CategoryLabelEntity

extends TickLabelEntity
java.lang.Object
   ↳ org.jfree.chart.entity.ChartEntity
     ↳ org.jfree.chart.entity.TickLabelEntity
       ↳ org.jfree.chart.entity.CategoryLabelEntity

Class Overview

An entity to represent the labels on a CategoryAxis.

Summary

Public Constructors
CategoryLabelEntity(Comparable key, Shape area, String toolTipText, String urlText)
Creates a new entity.
Public Methods
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.
[Expand]
Inherited Methods
From class org.jfree.chart.entity.ChartEntity
From class java.lang.Object

Public Constructors

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.

Public Methods

public boolean equals (Object obj)

Tests this instance for equality with an arbitrary object.

Parameters
obj the object (null permitted).
Returns
  • A boolean.

public Comparable getKey ()

Returns the category key.

Returns
  • The category key.

public int hashCode ()

Returns a hash code for this instance.

Returns
  • A hash code.

public String toString ()

Returns a string representation of this entity. This is primarily useful for debugging.

Returns
  • A string representation of this entity.