@DomEvent(value="series-click") public class SeriesClickEvent extends ComponentEvent<Chart> implements ClickEvent, HasSeries
source
Constructor and Description |
---|
SeriesClickEvent(Chart source,
boolean fromClient,
int pageX,
int pageY,
boolean altKey,
boolean ctrlKey,
boolean metaKey,
boolean shiftKey,
int button,
double x,
double y,
int seriesIndex) |
Modifier and Type | Method and Description |
---|---|
MouseEventDetails |
getMouseDetails()
Gets the mouse click details
|
int |
getSeriesItemIndex()
Returns the index of the series
|
getSource, isFromClient, unregisterListener
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAbsoluteX, getAbsoluteY, getButton, getxAxisValue, getyAxisValue, isAltKey, isCtrlKey, isMetaKey, isShiftKey
public SeriesClickEvent(Chart source, boolean fromClient, @EventData(value="event.detail.originalEvent.pageX") int pageX, @EventData(value="event.detail.originalEvent.pageY") int pageY, @EventData(value="event.detail.originalEvent.altKey") boolean altKey, @EventData(value="event.detail.originalEvent.ctrlKey") boolean ctrlKey, @EventData(value="event.detail.originalEvent.metaKey") boolean metaKey, @EventData(value="event.detail.originalEvent.shiftKey") boolean shiftKey, @EventData(value="event.detail.originalEvent.button") int button, @EventData(value="event.detail.originalEvent.point.x") double x, @EventData(value="event.detail.originalEvent.point.y") double y, @EventData(value="event.detail.originalEvent.point.series.index") int seriesIndex)
public int getSeriesItemIndex()
HasSeries
getSeriesItemIndex
in interface HasSeries
public MouseEventDetails getMouseDetails()
ClickEvent
getMouseDetails
in interface ClickEvent
Copyright © 2023. All rights reserved.