Class PointUnselectEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Map>
com.vaadin.componentfactory.maps.events.PointUnselectEvent
- All Implemented Interfaces:
HasItem,HasSeries,Serializable
@DomEvent("point-unselect")
public class PointUnselectEvent
extends com.vaadin.flow.component.ComponentEvent<Map>
implements HasItem
The PointUnselectEvent class stores data for unselect events on the points of the
chart.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPointUnselectEvent(Map source, boolean fromClient, int seriesIndex, String category, int pointIndex) Constructor for PointUnselectEvent. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the index ofHasItem.getItem()inHasSeries.getSeries().intReturns the index of the seriesMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
PointUnselectEvent
public PointUnselectEvent(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.index") int pointIndex) Constructor for PointUnselectEvent.
-
-
Method Details
-
getSeriesItemIndex
public int getSeriesItemIndex()Returns the index of the series- Specified by:
getSeriesItemIndexin interfaceHasSeries- Returns:
- index of the series
-
getCategory
- Specified by:
getCategoryin interfaceHasItem
-
getItemIndex
public int getItemIndex()Returns the index ofHasItem.getItem()inHasSeries.getSeries().- Specified by:
getItemIndexin interfaceHasItem- Returns:
- index of the item
-