public class XYItemClickEvent extends java.util.EventObject
AbstractXYChart.| Constructor and Description |
|---|
XYItemClickEvent(java.lang.Object source,
org.jfree.data.xy.XYDataset dataset,
int seriesIndex,
int itemIndex)
Creates a new XY item click event.
|
| Modifier and Type | Method and Description |
|---|---|
org.jfree.data.xy.XYDataset |
getDataset()
Returns the dataset.
|
int |
getItemIndex()
Returns the item index.
|
int |
getSeriesIndex()
Returns the series index.
|
java.lang.String |
toString()
Returns a string that represents the state of this instance (suitable
for debugging purposes).
|
public XYItemClickEvent(java.lang.Object source, org.jfree.data.xy.XYDataset dataset, int seriesIndex, int itemIndex)
source - the event source (typically the chart).dataset - the dataset.seriesIndex - the row key.itemIndex - the column key.public org.jfree.data.xy.XYDataset getDataset()
public int getSeriesIndex()
public int getItemIndex()
public java.lang.String toString()
toString in class java.util.EventObject