|
Header
|
|||||||||
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.XYItemEntity
public class XYItemEntity
A chart entity that represents one item within an
XYPlot
.
Constructor Summary | |
---|---|
XYItemEntity(java.awt.Shape area,
XYDataset dataset,
int series,
int item,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new entity. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests the entity for equality with an arbitrary object. |
XYDataset |
getDataset()
Returns the dataset this entity refers to. |
int |
getItem()
Returns the item index. |
int |
getSeriesIndex()
Returns the series index. |
void |
setDataset(XYDataset dataset)
Sets the dataset this entity refers to. |
void |
setItem(int item)
Sets the item index. |
void |
setSeriesIndex(int series)
Sets the series index. |
java.lang.String |
toString()
Returns a string representation of this instance, useful for debugging purposes. |
Methods inherited from class org.jfree.chart.entity.ChartEntity |
---|
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, hashCode, setArea, setToolTipText, setURLText |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XYItemEntity(java.awt.Shape area, XYDataset dataset, int series, int item, java.lang.String toolTipText, java.lang.String urlText)
area
- the area.dataset
- the dataset.series
- the series (zero-based index).item
- the item (zero-based index).toolTipText
- the tool tip text.urlText
- the URL text for HTML image maps.Method Detail |
---|
public XYDataset getDataset()
public void setDataset(XYDataset dataset)
dataset
- the dataset.public int getSeriesIndex()
public void setSeriesIndex(int series)
series
- the series index (zero-based).public int getItem()
public void setItem(int item)
item
- the item index (zero-based).public boolean equals(java.lang.Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).
public java.lang.String toString()
toString
in class ChartEntity
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |