public final class ChartClickEvent extends AbstractChartEvent<ChartClickEventHandler> implements IsChartEvent
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<ChartClickEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
ChartClickEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
Chart functionContext,
java.util.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) |
com.google.gwt.event.shared.GwtEvent.Type<ChartClickEventHandler> |
getAssociatedType() |
java.util.List<DatasetItem> |
getItems()
Returns a list of items with dataset metadata related to the click
|
getContext, getKeygetChart, getNativeEventassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, getContext, getKey, getNativeEventpublic static final com.google.gwt.event.shared.GwtEvent.Type<ChartClickEventHandler> TYPE
public ChartClickEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
Chart functionContext,
java.util.List<DatasetItem> items)
nativeEvent - native event of this custom eventfunctionContext - function context provided by CHART.JSitems - a list of items with dataset metadata related to the clickpublic java.util.List<DatasetItem> getItems()
getItems in interface IsChartEventpublic com.google.gwt.event.shared.GwtEvent.Type<ChartClickEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ChartClickEventHandler>protected void dispatch(ChartClickEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ChartClickEventHandler>