Class SeriesCheckboxClickEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Map>
com.vaadin.componentfactory.maps.events.SeriesCheckboxClickEvent
All Implemented Interfaces:
HasSeries, Serializable

@DomEvent("series-checkbox-click") public class SeriesCheckboxClickEvent extends com.vaadin.flow.component.ComponentEvent<Map> implements HasSeries
SeriesCheckboxClickEvent triggered when a checkbox in a legend is clicked
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • SeriesCheckboxClickEvent

      public SeriesCheckboxClickEvent(Map source, boolean fromClient, @EventData("event.detail.originalEvent.checked") boolean isChecked, @EventData("event.detail.originalEvent.item.index") int seriesIndex)
      Constructs a SeriesCheckboxClickEvent
      Parameters:
      source - a Map object.
      fromClient - a boolean.
      isChecked - a boolean.
      seriesIndex - a int.
  • Method Details

    • isChecked

      public boolean isChecked()
      Checks if the checkbox is checked
      Returns:
      a boolean.
    • getSeriesItemIndex

      public int getSeriesItemIndex()
      Returns the index of the series
      Specified by:
      getSeriesItemIndex in interface HasSeries
      Returns:
      index of the series