Class JLChartEvent

java.lang.Object
java.util.EventObject
fr.esrf.tangoatk.widget.util.chart.JLChartEvent
All Implemented Interfaces:
Serializable

public class JLChartEvent extends EventObject
Event sent when when the user click on the graph
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setSource

      public void setSource(Object source)
    • getVersion

      public String getVersion()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • getMouseEvent

      public MouseEvent getMouseEvent()
      Returns:
      the mouse event that has triggered this event, if any. Null otherwise.
    • getX

      public double getX()
      Gets the x value pixel coordinates
      Returns:
      X value
    • getY

      public double getY()
      Gets the y value pixel coordinates
      Returns:
      Y value
    • getXValue

      public double getXValue()
      Gets the x value (original value)
      Returns:
      X value
    • getYValue

      public double getYValue()
      Gets the y value (original value)
      Returns:
      Original Y value
    • getTransformedXValue

      public double getTransformedXValue()
      Returns:
      the x transformed value (through the A0,A1,A2 polynomial transform) Does not make conversion in normal monitoring mode (not XY)
    • getTransformedYValue

      public double getTransformedYValue()
      Returns:
      the y transformed value (through the A0,A1,A2 polynomial transform)
    • getDataViewIndex

      public int getDataViewIndex()
      Gets the index of the clicked point in the dataView. Works only with normal mode. (not XY)
      Returns:
      index
    • getDataView

      public JLDataView getDataView()
      Gets the dataView that contains the clicked point.
      Returns:
      DataView