public final class DatasetSelectionEvent extends AbstractEvent<DatasetSelectionEventHandler>
GwtEvent.Type<H>| Modifier and Type | Field and Description | 
|---|---|
| static GwtEvent.Type<DatasetSelectionEventHandler> | TYPEEvent type | 
| Constructor and Description | 
|---|
| DatasetSelectionEvent(NativeEvent nativeEvent,
                     DatasetItem item)Creates the event with dataset metadata item related to the click | 
| DatasetSelectionEvent(NativeEvent 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(DatasetSelectionEventHandler handler) | 
| GwtEvent.Type<DatasetSelectionEventHandler> | getAssociatedType() | 
| IsChart | getChart()Returns the chart instance, stored in the event as source. | 
| DatasetItem | getItem()Returns the item with dataset metadata related to the click | 
getNativeEventassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<DatasetSelectionEventHandler> TYPE
public DatasetSelectionEvent(NativeEvent nativeEvent, DatasetItem item)
nativeEvent - native event of this custom eventitem - dataset metadata item related to the clickpublic DatasetSelectionEvent(NativeEvent 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 AbstractEvent<DatasetSelectionEventHandler>public GwtEvent.Type<DatasetSelectionEventHandler> getAssociatedType()
getAssociatedType in class GwtEvent<DatasetSelectionEventHandler>protected void dispatch(DatasetSelectionEventHandler handler)
dispatch in class GwtEvent<DatasetSelectionEventHandler>