Class LegendHoverEvent


public class LegendHoverEvent extends BrowserEvent<LegendHoverHandler>
  • Constructor Details

  • Method Details

    • getFiringCanvas

      public Canvas getFiringCanvas()
      Returns the Canvas firing the event.
      Returns:
      Canvas firing the event
    • fire

      public static <S extends HasLegendHoverHandlers & HasHandlers> void 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.
      Type Parameters:
      S - The event source
      Parameters:
      source - the source of the handlers
      jsObj - the native event
    • getType

      public static GwtEvent.Type<LegendHoverHandler> getType()
      Gets the type associated with this event.
      Returns:
      returns the handler type
    • dispatch

      protected void dispatch(LegendHoverHandler handler)
      Specified by:
      dispatch in class GwtEvent<LegendHoverHandler>
    • getAssociatedType

      public final GwtEvent.Type<LegendHoverHandler> getAssociatedType()
      Specified by:
      getAssociatedType in class GwtEvent<LegendHoverHandler>
    • getFacetValue

      public FacetValue getFacetValue()
      facetValue that the mouse is over
      Returns:
      facetValue that the mouse is over
    • getMetricFacetValue

      public FacetValue getMetricFacetValue()
      for a multi-axis chart, facetValue representing the hovered-over metric. Null if chart is not multi-axis
      Returns:
      for a multi-axis chart, facetValue representing the hovered-over metric. Null if chart is not multi-axis