Package io.jmix.charts.component
Class StockChart.PeriodSelectorChangeEvent
java.lang.Object
java.util.EventObject
io.jmix.charts.component.StockChart.AbstractStockChartEvent
io.jmix.charts.component.StockChart.PeriodSelectorChangeEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- StockChart
Describes period selector change event.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPeriodSelectorChangeEvent
(StockChart stockChart, Date startDate, Date endDate, PeriodType predefinedPeriod, Integer count, 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
-
PeriodSelectorChangeEvent
public PeriodSelectorChangeEvent(StockChart stockChart, Date startDate, Date endDate, PeriodType predefinedPeriod, Integer count, int x, int y, int absoluteX, int absoluteY)
-
-
Method Details
-
getStartDate
- Returns:
- period start date
-
getEndDate
- Returns:
- period end date
-
getPredefinedPeriod
- Returns:
- predefined period type
-
getCount
-
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.
-