Package io.jmix.charts.component
Class StockChart.AbstractStockChartClickEvent
java.lang.Object
java.util.EventObject
io.jmix.charts.component.StockChart.AbstractStockChartEvent
io.jmix.charts.component.StockChart.AbstractStockChartClickEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StockChart.StockChartClickEvent
,StockChart.StockChartRightClickEvent
- Enclosing interface:
- StockChart
public abstract static class StockChart.AbstractStockChartClickEvent
extends StockChart.AbstractStockChartEvent
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAbstractStockChartClickEvent
(StockChart stockChart, int x, int y, int absoluteX, int absoluteY) -
Method Summary
Methods inherited from class io.jmix.charts.component.StockChart.AbstractStockChartEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AbstractStockChartClickEvent
public AbstractStockChartClickEvent(StockChart stockChart, int x, int y, int absoluteX, int absoluteY)
-
-
Method Details
-
getAbsoluteX
public int getAbsoluteX()- Returns:
- the X coordinate of the mouse pointer in local (DOM content) coordinates.
-
getAbsoluteY
public int getAbsoluteY()- Returns:
- the Y coordinate of the mouse pointer in local (DOM content) coordinates.
-
getX
public int getX()- Returns:
- the X coordinate of the mouse pointer in the chart coordinates.
-
getY
public int getY()- Returns:
- the Y coordinate of the mouse pointer in the chart coordinates.
-