public final class DatasetSelectionEvent extends AbstractEvent<DatasetSelectionEventHandler>
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<DatasetSelectionEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
DatasetSelectionEvent(NativeEvent nativeEvent,
AbstractChart<?,?> chart,
DatasetItem item)
Creates the event with dataset metadata item related to the click and the chart instance
|
DatasetSelectionEvent(NativeEvent nativeEvent,
DatasetItem item)
Creates the event with dataset metadata item related to the click
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(DatasetSelectionEventHandler handler) |
GwtEvent.Type<DatasetSelectionEventHandler> |
getAssociatedType() |
AbstractChart<?,?> |
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, AbstractChart<?,?> chart, DatasetItem item)
nativeEvent - native event of this custom eventchart - chart instanceitem - dataset metadata item related to the clickpublic DatasetItem getItem()
public AbstractChart<?,?> 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>