public class LegendClickEvent extends java.util.EventObject
Constructor and Description |
---|
LegendClickEvent(java.lang.Object source,
org.jfree.data.general.Dataset dataset,
java.lang.Comparable key)
Creates a new legend click event.
|
Modifier and Type | Method and Description |
---|---|
org.jfree.data.general.Dataset |
getDataset()
Returns the dataset.
|
java.lang.Comparable |
getSeriesKey()
Returns the series key.
|
java.lang.String |
toString()
Returns a string that represents the state of this instance (suitable
for debugging purposes).
|
public LegendClickEvent(java.lang.Object source, org.jfree.data.general.Dataset dataset, java.lang.Comparable key)
source
- the event source.dataset
- the dataset.key
- the series key.public org.jfree.data.general.Dataset getDataset()
public java.lang.Comparable getSeriesKey()
public java.lang.String toString()
toString
in class java.util.EventObject