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

public static class StockChart.PeriodSelectorChangeEvent extends StockChart.AbstractStockChartEvent
Describes period selector change event.
See Also:
  • 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

      public Date getStartDate()
      Returns:
      period start date
    • getEndDate

      public Date getEndDate()
      Returns:
      period end date
    • getPredefinedPeriod

      public PeriodType getPredefinedPeriod()
      Returns:
      predefined period type
    • getCount

      public Integer 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.