public class LegendClickEvent extends BrowserEvent<LegendClickHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
LegendClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(LegendClickHandler handler) |
static <S extends HasLegendClickHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<LegendClickHandler> |
getAssociatedType() |
FacetValue |
getFacetValue()
facetValue that was clicked, or null if click was in empty space
|
FacetValue |
getMetricFacetValue()
for a multi-axis chart, facetValue representing the clicked metric.
|
static GwtEvent.Type<LegendClickHandler> |
getType()
Gets the type associated with this event.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public LegendClickEvent(JavaScriptObject jsObj)
public static <S extends HasLegendClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<LegendClickHandler> getType()
protected void dispatch(LegendClickHandler handler)
dispatch
in class GwtEvent<LegendClickHandler>
public final GwtEvent.Type<LegendClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<LegendClickHandler>
public FacetValue getFacetValue()
public FacetValue getMetricFacetValue()