public final class LegendClickEvent extends AbstractEvent<LegendClickEventHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.shared.GwtEvent.Type<LegendClickEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
LegendClickEvent(com.google.gwt.dom.client.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) |
com.google.gwt.event.shared.GwtEvent.Type<LegendClickEventHandler> |
getAssociatedType() |
LegendItem |
getItem()
Returns the legend item related to the click
|
getChart, getNativeEventassertLive, getSource, isLive, kill, revivepublic static final com.google.gwt.event.shared.GwtEvent.Type<LegendClickEventHandler> TYPE
public LegendClickEvent(com.google.gwt.dom.client.NativeEvent nativeEvent,
LegendItem item)
nativeEvent - native event of this custom eventitem - legend item related to the clickLegendItempublic LegendItem getItem()
public com.google.gwt.event.shared.GwtEvent.Type<LegendClickEventHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<LegendClickEventHandler>protected void dispatch(LegendClickEventHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<LegendClickEventHandler>