Package io.jmix.charts.component
Class StockChart.AbstractStockGraphEvent
java.lang.Object
java.util.EventObject
io.jmix.charts.component.StockChart.AbstractStockChartEvent
io.jmix.charts.component.StockChart.AbstractStockGraphEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StockChart.StockGraphClickEvent
,StockChart.StockGraphRollOutEvent
,StockChart.StockGraphRollOverEvent
- Enclosing interface:
- StockChart
public abstract static class StockChart.AbstractStockGraphEvent
extends StockChart.AbstractStockChartEvent
Describes stock graph event.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractStockGraphEvent
(StockChart stockChart, StockPanel stockPanel, String panelId, StockGraph stockGraph, String graphId, 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
-
AbstractStockGraphEvent
protected AbstractStockGraphEvent(StockChart stockChart, StockPanel stockPanel, String panelId, StockGraph stockGraph, String graphId, int x, int y, int absoluteX, int absoluteY)
-
-
Method Details
-
getPanelId
- Returns:
- panel id
-
getGraphId
- Returns:
- graph id
-
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.
-
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.
-
getStockGraph
- Returns:
- null or stock graph
-
getStockPanel
- Returns:
- null or stock panel
-