Package org.jfree.beans.events
Class CategoryItemClickEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.jfree.beans.events.CategoryItemClickEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class CategoryItemClickEvent extends java.util.EventObject
An event object that carries information about a mouse click on an item in anAbstractCategoryChart
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CategoryItemClickEvent(java.lang.Object source, org.jfree.data.category.CategoryDataset dataset, java.lang.Comparable rowKey, java.lang.Comparable columnKey)
Creates a new section click event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Comparable
getColumnKey()
Returns the column key.org.jfree.data.category.CategoryDataset
getDataset()
Returns the dataset.java.lang.Comparable
getRowKey()
Returns the row key.java.lang.String
toString()
Returns a string that represents the state of this instance (suitable for debugging purposes).
-
-
-
Constructor Detail
-
CategoryItemClickEvent
public CategoryItemClickEvent(java.lang.Object source, org.jfree.data.category.CategoryDataset dataset, java.lang.Comparable rowKey, java.lang.Comparable columnKey)
Creates a new section click event.- Parameters:
source
- the event source (typically the chart).dataset
- the dataset.rowKey
- the row key.columnKey
- the column key.
-
-
Method Detail
-
getDataset
public org.jfree.data.category.CategoryDataset getDataset()
Returns the dataset.- Returns:
- The dataset.
-
getRowKey
public java.lang.Comparable getRowKey()
Returns the row key.- Returns:
- The row key.
-
getColumnKey
public java.lang.Comparable getColumnKey()
Returns the column key.- Returns:
- The column key.
-
toString
public java.lang.String toString()
Returns a string that represents the state of this instance (suitable for debugging purposes).- Overrides:
toString
in classjava.util.EventObject
- Returns:
- A string.
-
-