public final class LegendClickEvent extends AbstractEvent<LegendClickEventHandler>
GwtEvent.Type<H>| Modifier and Type | Field and Description | 
|---|---|
| static GwtEvent.Type<LegendClickEventHandler> | TYPEEvent type | 
| Constructor and Description | 
|---|
| LegendClickEvent(NativeEvent nativeEvent,
                LegendItem item)Creates the event with legend item related to the click | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | dispatch(LegendClickEventHandler handler) | 
| GwtEvent.Type<LegendClickEventHandler> | getAssociatedType() | 
| LegendItem | getItem()Returns the legend item related to the click | 
getChart, getNativeEventassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<LegendClickEventHandler> TYPE
public LegendClickEvent(NativeEvent nativeEvent, LegendItem item)
nativeEvent - native event of this custom eventitem - legend item related to the clickpublic LegendItem getItem()
public GwtEvent.Type<LegendClickEventHandler> getAssociatedType()
getAssociatedType in class GwtEvent<LegendClickEventHandler>protected void dispatch(LegendClickEventHandler handler)
dispatch in class GwtEvent<LegendClickEventHandler>