Class 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:
  • 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

      public String getPanelId()
      Returns:
      panel id
    • getGraphId

      public String 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

      public StockGraph getStockGraph()
      Returns:
      null or stock graph
    • getStockPanel

      public StockPanel getStockPanel()
      Returns:
      null or stock panel