| java.lang.Object org.jfree.chart.entity.ChartEntity org.jfree.chart.entity.XYItemEntity
Method Summary | |
public boolean | equals(Object obj) Tests the entity for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public XYDataset | getDataset() Returns the dataset this entity refers to. | public int | getItem() Returns the item index. | public int | getSeriesIndex() Returns the series index. | public void | setDataset(XYDataset dataset) Sets the dataset this entity refers to. | public void | setItem(int item) Sets the item index. | public void | setSeriesIndex(int series) Sets the series index. | public String | toString() Returns a string representation of this instance, useful for debugging
purposes. |
XYItemEntity | public XYItemEntity(Shape area, XYDataset dataset, int series, int item, String toolTipText, String urlText)(Code) | | Creates a new entity.
Parameters: area - the area. Parameters: dataset - the dataset. Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). Parameters: toolTipText - the tool tip text. Parameters: urlText - the URL text for HTML image maps. |
equals | public boolean equals(Object obj)(Code) | | Tests the entity for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getDataset | public XYDataset getDataset()(Code) | | Returns the dataset this entity refers to.
The dataset. |
getItem | public int getItem()(Code) | | Returns the item index.
The item index. |
getSeriesIndex | public int getSeriesIndex()(Code) | | Returns the series index.
The series index. |
setDataset | public void setDataset(XYDataset dataset)(Code) | | Sets the dataset this entity refers to.
Parameters: dataset - the dataset. |
setItem | public void setItem(int item)(Code) | | Sets the item index.
Parameters: item - the item index (zero-based). |
setSeriesIndex | public void setSeriesIndex(int series)(Code) | | Sets the series index.
Parameters: series - the series index (zero-based). |
toString | public String toString()(Code) | | Returns a string representation of this instance, useful for debugging
purposes.
A string. |
|
|