|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jfree.beans.events.XYItemClickEvent
public class XYItemClickEvent
An event object that carries information about a mouse click on an item
in an AbstractXYChart
.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
XYItemClickEvent(java.lang.Object source,
org.jfree.data.xy.XYDataset dataset,
int seriesIndex,
int itemIndex)
Creates a new XY item click event. |
Method Summary | |
---|---|
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). |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public org.jfree.data.xy.XYDataset getDataset()
public int getSeriesIndex()
public int getItemIndex()
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |