public final class LegendLeaveEvent extends AbstractChartEvent<LegendLeaveEventHandler> implements IsLegendEvent
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<LegendLeaveEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
LegendLeaveEvent(com.google.gwt.dom.client.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) |
com.google.gwt.event.shared.GwtEvent.Type<LegendLeaveEventHandler> |
getAssociatedType() |
LegendItem |
getItem()
Returns the legend item related to the leaving.
|
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<LegendLeaveEventHandler> TYPE
public LegendLeaveEvent(com.google.gwt.dom.client.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 com.google.gwt.event.shared.GwtEvent.Type<LegendLeaveEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<LegendLeaveEventHandler>protected void dispatch(LegendLeaveEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<LegendLeaveEventHandler>