com.infragistics.faces.chart.event
Class DataPointEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.faces.event.FacesEvent
          extended bycom.infragistics.faces.chart.event.DataPointEvent
All Implemented Interfaces:
java.io.Serializable

public class DataPointEvent
extends javax.faces.event.FacesEvent

A DataPointEvent is a notification that an event related to a series or datapoint has occurred. It is not fired unless validation of the new value was completed successfully.

See Also:
Serialized Form

Constructor Summary
DataPointEvent(Chart chart, Series series, IChartAttributes dataPoint)
           
 
Method Summary
 Chart getChart()
          Get the chart associated with this event.
 IChartAttributes getDataPoint()
          Get the datapoint associated with this event.
 Series getSeries()
          Get the series associated with this event.
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           
 
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataPointEvent

public DataPointEvent(Chart chart,
                      Series series,
                      IChartAttributes dataPoint)
Method Detail

isAppropriateListener

public boolean isAppropriateListener(javax.faces.event.FacesListener listener)

processListener

public void processListener(javax.faces.event.FacesListener listener)

getChart

public Chart getChart()
Get the chart associated with this event.

Returns:
Immediate chart parent of clicked datapoint or series

getSeries

public Series getSeries()
Get the series associated with this event.

Returns:
Series or immediate series parent of clicked datapoint

getDataPoint

public IChartAttributes getDataPoint()
Get the datapoint associated with this event.

Returns:
Clicked datapoint or null