Class DrilldownEvent

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

@DomEvent("chart-drilldown") public class DrilldownEvent extends com.vaadin.flow.component.ComponentEvent<Map> implements HasItem
The DrilldownEvent class stores information on click events in drilldown points
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • DrilldownEvent

      public DrilldownEvent(Map source, boolean fromClient, @EventData("event.detail.originalEvent.point.drilldown") String drilldown, @EventData("event.detail.originalEvent.point.category") String category, @EventData("event.detail.originalEvent.point.x") Double x, @EventData("event.detail.originalEvent.point.y") Double y, @EventData("event.detail.originalEvent.point.index") int pointIndex, @EventData("event.detail.originalEvent.point.series.index") int seriesIndex, @EventData("event.detail.originalEvent.point.id") String pointId)
      Construct a ChartDrilldownEvent
      Parameters:
      source - a Map object.
      fromClient - a boolean.
      drilldown - a String object.
      category - a String object.
      x - a Double object.
      y - a Double object.
      pointIndex - a int.
      seriesIndex - a int.
      pointId - a String object.
  • Method Details

    • getDrilldown

      public String getDrilldown()
      Gets the name of the drilldown
      Returns:
      a String object.
    • getxValue

      public Double getxValue()

      getxValue.

      Returns:
      a Double object.
    • getyValue

      public Double getyValue()

      getyValue.

      Returns:
      a Double object.
    • getCategory

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

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

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

      public String getPointId()

      Getter for the field pointId.

      Returns:
      a String object.
    • setPointId

      public void setPointId(String pointId)

      Setter for the field pointId.

      Parameters:
      pointId - a String object.