public final class DatasetSelectionEvent extends AbstractEvent
| Constructor and Description |
|---|
DatasetSelectionEvent(BaseNativeEvent nativeEvent,
DatasetItem item)
Creates the event with dataset metadata item related to the click
|
DatasetSelectionEvent(BaseNativeEvent nativeEvent,
IsChart chart,
DatasetItem item)
Creates the event with dataset metadata item related to the click and the chart instance
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(EventHandler handler)
Implemented by subclasses to dispatch event on the handler.
|
IsChart |
getChart()
Returns the chart instance, stored in the event as source.
|
DatasetItem |
getItem()
Returns the item with dataset metadata related to the click
|
getNativeEvent, getTypepublic static final EventType TYPE
public DatasetSelectionEvent(BaseNativeEvent nativeEvent, DatasetItem item)
nativeEvent - native event of this custom eventitem - dataset metadata item related to the clickpublic DatasetSelectionEvent(BaseNativeEvent nativeEvent, IsChart chart, DatasetItem item)
nativeEvent - native event of this custom eventchart - chart instanceitem - dataset metadata item related to the clickpublic DatasetItem getItem()
public IsChart getChart()
AbstractEventgetChart in class AbstractEventprotected void dispatch(EventHandler handler)
Event