|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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)
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)
Creates a new category item entity. |
Method Summary | |
java.lang.Object |
getCategory()
Returns the category. |
int |
getCategoryIndex()
Returns the category index. |
int |
getSeries()
Returns the series index. |
void |
setCategory(java.lang.Object category)
Sets the category. |
void |
setCategoryIndex(int index)
Sets the category index. |
void |
setSeries(int series)
Sets the series index. |
java.lang.String |
toString()
Returns a string representing this object. |
Methods inherited from class org.jfree.chart.entity.ChartEntity |
getArea, getImageMapAreaTag, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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 int getSeries()
public void setSeries(int series)
series
- the series index (zero-based).public java.lang.Object getCategory()
public void setCategory(java.lang.Object category)
category
- the category.public int getCategoryIndex()
public void setCategoryIndex(int index)
index
- the category index.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |