public final class ChartClickEvent extends AbstractEvent<ChartClickEventHandler>
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<ChartClickEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
ChartClickEvent(NativeEvent nativeEvent,
List<DatasetItem> items)
Creates the event with a list of items with dataset metadata related to the click
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ChartClickEventHandler handler) |
GwtEvent.Type<ChartClickEventHandler> |
getAssociatedType() |
List<DatasetItem> |
getItems()
Returns a list of items with dataset metadata related to the click
|
getChart, getNativeEventassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<ChartClickEventHandler> TYPE
public ChartClickEvent(NativeEvent nativeEvent, List<DatasetItem> items)
nativeEvent - native event of this custom eventitems - a list of items with dataset metadata related to the clickpublic List<DatasetItem> getItems()
public GwtEvent.Type<ChartClickEventHandler> getAssociatedType()
getAssociatedType in class GwtEvent<ChartClickEventHandler>protected void dispatch(ChartClickEventHandler handler)
dispatch in class GwtEvent<ChartClickEventHandler>