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