|
||||||||||
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.XYItemEntity
A chart entity that represents one item within an XY plot.
Constructor Summary | |
XYItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
int series,
int item)
Creates a new entity. |
|
XYItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
int series,
int item)
Creates a new entity. |
Method Summary | |
int |
getItem()
Returns the item index. |
int |
getSeries()
Returns the series index. |
void |
setItem(int item)
Sets the item index. |
void |
setSeries(int series)
Sets the series index. |
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, toString, wait, wait, wait |
Constructor Detail |
public XYItemEntity(java.awt.Shape area, java.lang.String toolTipText, int series, int item)
area
- the area.toolTipText
- the tool tip text.series
- the series (zero-based index).item
- the item (zero-based index).public XYItemEntity(java.awt.Shape area, java.lang.String toolTipText, java.lang.String urlText, int series, int item)
area
- the area.toolTipText
- the tool tip text.urlText
- the URL text for HTML image maps.series
- the series (zero-based index).item
- the item (zero-based index).Method Detail |
public int getSeries()
public void setSeries(int series)
series
- the series index (zero-based).public int getItem()
public void setItem(int item)
item
- the item index (zero-based).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |