org.jfree.beans.events
Class CategoryItemClickEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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 an AbstractCategoryChart.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
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
 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).
 
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

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 class java.util.EventObject
Returns:
A string.