public final class ChartHoverEvent extends AbstractChartEvent<ChartHoverEventHandler> implements IsChartEvent
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.shared.GwtEvent.Type<ChartHoverEventHandler> |
TYPE
Event type
|
Constructor and Description |
---|
ChartHoverEvent(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 hover
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ChartHoverEventHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<ChartHoverEventHandler> |
getAssociatedType() |
java.util.List<DatasetItem> |
getItems()
Returns a list of items with dataset metadata related to the hover
|
getContext, getKey
getChart, getNativeEvent
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, getContext, getKey, getNativeEvent
public static final com.google.gwt.event.shared.GwtEvent.Type<ChartHoverEventHandler> TYPE
public ChartHoverEvent(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 hoverpublic java.util.List<DatasetItem> getItems()
getItems
in interface IsChartEvent
public com.google.gwt.event.shared.GwtEvent.Type<ChartHoverEventHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<ChartHoverEventHandler>
protected void dispatch(ChartHoverEventHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<ChartHoverEventHandler>