public final class LegendLeaveEvent extends AbstractEvent<H> implements IsLegendEvent
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<LegendLeaveEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
LegendLeaveEvent(NativeEvent nativeEvent,
Chart functionContext,
LegendItem item)
Creates the event with legend item related to the leaving.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(LegendLeaveEventHandler handler) |
GwtEvent.Type<LegendLeaveEventHandler> |
getAssociatedType() |
Chart |
getContext()
Returns the java script function context of CHART.JS events.
|
LegendItem |
getItem()
Returns the legend item related to the leaving.
|
Key |
getKey()
Returns the options key where default function is stored.
|
getChart, getNativeEventassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, getContext, getKey, getNativeEventpublic static final GwtEvent.Type<LegendLeaveEventHandler> TYPE
public LegendLeaveEvent(NativeEvent nativeEvent, Chart functionContext, LegendItem item)
nativeEvent - native event of this custom eventfunctionContext - function context provided by CHART.JSitem - legend item related to the leavingpublic LegendItem getItem()
getItem in interface IsLegendEventpublic GwtEvent.Type<LegendLeaveEventHandler> getAssociatedType()
getAssociatedType in class GwtEvent<LegendLeaveEventHandler>protected void dispatch(LegendLeaveEventHandler handler)
dispatch in class GwtEvent<LegendLeaveEventHandler>public final Chart getContext()
public final Key getKey()