@DomEvent(value="point-select") public class PointSelectEvent extends ComponentEvent<Chart> implements HasItem
source
Constructor and Description |
---|
PointSelectEvent(Chart source,
boolean fromClient,
int seriesIndex,
String category,
int pointIndex) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
int |
getItemIndex()
Returns the index of
HasItem.getItem() in HasSeries.getSeries() . |
int |
getSeriesItemIndex()
Returns the index of the series
|
getSource, isFromClient, unregisterListener
toString
public PointSelectEvent(Chart source, boolean fromClient, @EventData(value="event.detail.originalEvent.target.series.index") int seriesIndex, @EventData(value="event.detail.originalEvent.target.category") String category, @EventData(value="event.detail.originalEvent.target.index") int pointIndex)
public int getSeriesItemIndex()
HasSeries
getSeriesItemIndex
in interface HasSeries
public String getCategory()
getCategory
in interface HasItem
public int getItemIndex()
HasItem
HasItem.getItem()
in HasSeries.getSeries()
.getItemIndex
in interface HasItem
Copyright © 2019. All rights reserved.