org.jfree.chart.entity
public class CategoryItemEntity extends ChartEntity implements Cloneable, Serializable
| Constructor Summary | |
|---|---|
| CategoryItemEntity(Shape area, String toolTipText, String urlText, CategoryDataset dataset, int series, Object category, int categoryIndex)
Creates a new category item entity.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
Tests the entity for equality with an arbitrary object.
|
| Object | getCategory()
Returns the category.
|
| int | getCategoryIndex()
Returns the category index.
|
| CategoryDataset | getDataset()
Returns the datset this entity refers to.
|
| int | getSeries()
Returns the series index.
|
| void | setCategory(Object category)
Sets the category.
|
| void | setCategoryIndex(int index)
Sets the category index.
|
| void | setDataset(CategoryDataset dataset)
Sets the datset this entity refers to.
|
| void | setSeries(int series)
Sets the series index.
|
| String | toString()
Returns a string representing this object (useful for debugging
purposes).
|
Parameters: area the area. toolTipText the tool tip text. urlText the URL text for HTML image maps. dataset the dataset. series the series (zero-based index). category the category. categoryIndex the category index.
Parameters: obj the object (null permitted).
Returns: A boolean.
Returns: The category (possibly null).
Returns: The index.
Returns: The dataset (possibly null).
Returns: The series index.
Parameters: category the category (null permitted).
Parameters: index the category index.
Parameters: dataset the dataset (null permited).
Parameters: series the series index (zero-based).
Returns: A string.