java.lang.Object | ||
↳ | org.jfree.chart.entity.ChartEntity | |
↳ | org.jfree.chart.entity.CategoryItemEntity |
A chart entity that represents one item within a category plot.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
As of 1.0.6, use
CategoryItemEntity(Shape, String, String, CategoryDataset, Comparable, Comparable) .
| |||||||||||
Creates a new entity instance for an item in the specified dataset.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests the entity for equality with an arbitrary object.
| |||||||||||
This method is deprecated.
The return type for this method should be
Comparable , so it has been deprecated as of
version 1.0.6 and replaced by getColumnKey() .
| |||||||||||
This method is deprecated.
As of 1.0.6, you can derive this information from the
getColumnKey() method.
| |||||||||||
Returns the column key.
| |||||||||||
Returns the dataset this entity refers to.
| |||||||||||
Returns the row key.
| |||||||||||
This method is deprecated.
As of 1.0.6, you can derive this information from the
getRowKey() method.
| |||||||||||
This method is deprecated.
As of version 1.0.6, use
setColumnKey(Comparable) .
| |||||||||||
This method is deprecated.
As of 1.0.6, use
setColumnKey(Comparable) to
designate the category.
| |||||||||||
Sets the column key.
| |||||||||||
Sets the dataset this entity refers to.
| |||||||||||
Sets the row key.
| |||||||||||
This method is deprecated.
As of 1.0.6, you should use
setRowKey(Comparable)
to designate the series.
| |||||||||||
Returns a string representing this object (useful for debugging
purposes).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This constructor is deprecated.
As of 1.0.6, use CategoryItemEntity(Shape, String, String, CategoryDataset, Comparable, Comparable)
.
Creates a new category item entity.
area | the area (null not permitted). |
---|---|
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. |
Creates a new entity instance for an item in the specified dataset.
area | the 'hotspot' area (null not permitted). |
---|---|
toolTipText | the tool tip text. |
urlText | the URL text. |
dataset | the dataset (null not permitted). |
rowKey | the row key (null not permitted). |
columnKey | the column key (null not permitted). |
Tests the entity for equality with an arbitrary object.
obj | the object (null permitted). |
---|
This method is deprecated.
The return type for this method should be
Comparable
, so it has been deprecated as of
version 1.0.6 and replaced by getColumnKey()
.
Returns the category.
null
).
This method is deprecated.
As of 1.0.6, you can derive this information from the
getColumnKey()
method.
Returns the category index.
Returns the dataset this entity refers to. This can be used to differentiate between items in a chart that displays more than one dataset.
null
).
This method is deprecated.
As of 1.0.6, you can derive this information from the
getRowKey()
method.
Returns the series index.
This method is deprecated.
As of version 1.0.6, use setColumnKey(Comparable)
.
Sets the category.
category | the category (null permitted). |
---|
This method is deprecated.
As of 1.0.6, use setColumnKey(Comparable)
to
designate the category.
Sets the category index.
index | the category index. |
---|
Sets the column key.
columnKey | the column key (null not permitted). |
---|
Sets the dataset this entity refers to.
dataset | the dataset (null not permitted). |
---|
This method is deprecated.
As of 1.0.6, you should use setRowKey(Comparable)
to designate the series.
Sets the series index.
series | the series index (zero-based). |
---|
Returns a string representing this object (useful for debugging purposes).
null
).