Class Chart.AbstractClickEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Chart.AbstractChartClickEvent, Chart.AbstractGraphItemClickEvent, Chart.AbstractSliceClickEvent, Chart.GraphClickEvent
Enclosing interface:
Chart<T extends Chart>

public abstract static class Chart.AbstractClickEvent extends Chart.AbstractChartEvent
See Also:
  • Constructor Details

    • AbstractClickEvent

      public AbstractClickEvent(Chart chart, int x, int y, int absoluteX, int absoluteY)
  • Method Details

    • 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.