Class PointRemoveEvent

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

@DomEvent("point-remove") public class PointRemoveEvent extends com.vaadin.flow.component.ComponentEvent<Map> implements HasItem
The PointRemoveEvent class stores data for remove events on the points of the chart
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • PointRemoveEvent

      public PointRemoveEvent(Map source, boolean fromClient, @EventData("event.detail.originalEvent.target.series.index") int seriesIndex, @EventData("event.detail.originalEvent.target.category") String category, @EventData("event.detail.originalEvent.target.x") double x, @EventData("event.detail.originalEvent.target.y") double y, @EventData("event.detail.originalEvent.target.index") int pointIndex)

      Constructor for PointRemoveEvent.

      Parameters:
      source - a Map object.
      fromClient - a boolean.
      seriesIndex - a int.
      category - a String object.
      x - a double.
      y - a double.
      pointIndex - a int.
  • Method Details

    • getSeriesItemIndex

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

      public String getCategory()
      Specified by:
      getCategory in interface HasItem
    • getItemIndex

      public int getItemIndex()
      Returns the index of HasItem.getItem() in HasSeries.getSeries().
      Specified by:
      getItemIndex in interface HasItem
      Returns:
      index of the item
    • getxValue

      public double getxValue()

      getxValue.

      Returns:
      a double.
    • getyValue

      public double getyValue()

      getyValue.

      Returns:
      a double.