com.infragistics.faces.chart.event
Class DataPointEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
com.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
| 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 |
DataPointEvent
public DataPointEvent(Chart chart,
Series series,
IChartAttributes dataPoint)
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