|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.entity.ChartEntity
org.jfree.chart.entity.CategoryItemEntity
A chart entity that represents one item within a category plot.
| Constructor Summary | |
CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
int series,
java.lang.Object category,
int categoryIndex)
Deprecated. Use alternative constructor. |
|
CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
CategoryDataset dataset,
int series,
java.lang.Object category,
int categoryIndex)
Creates a new category item entity. |
|
CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
int series,
java.lang.Object category,
int categoryIndex)
Deprecated. Use alternative constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Tests the entity for equality with an arbitrary object. |
java.lang.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(java.lang.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. |
java.lang.String |
toString()
Returns a string representing this object (useful for debugging purposes). |
| Methods inherited from class org.jfree.chart.entity.ChartEntity |
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
CategoryDataset dataset,
int series,
java.lang.Object category,
int categoryIndex)
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.
public CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
int series,
java.lang.Object category,
int categoryIndex)
area - the area.toolTipText - the tool tip text.series - the series (zero-based index).category - the category.categoryIndex - the index of the category.
public CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
int series,
java.lang.Object category,
int categoryIndex)
area - the area.toolTipText - the tool tip text.urlText - the URL text for HTML image maps.series - the series (zero-based index).category - the category.categoryIndex - the category index.| Method Detail |
public CategoryDataset getDataset()
null).public void setDataset(CategoryDataset dataset)
dataset - the dataset (null permited).public int getSeries()
public void setSeries(int series)
series - the series index (zero-based).public java.lang.Object getCategory()
null).public void setCategory(java.lang.Object category)
category - the category (null permitted).public int getCategoryIndex()
public void setCategoryIndex(int index)
index - the category index.public java.lang.String toString()
public boolean equals(java.lang.Object obj)
equals in class ChartEntityobj - the object (null permitted).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||