fr.esrf.tangoatk.widget.util.chart
Class JLChartEvent

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

public class JLChartEvent
extends java.util.EventObject

Event sent when when the user click on the graph

See Also:
Serialized Form

Field Summary
 SearchInfo searchResult
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JLChartEvent(java.lang.Object source, SearchInfo si)
           
 
Method Summary
 java.lang.Object clone()
           
 JLDataView getDataView()
          Gets the dataView that contains the clicked point.
 int getDataViewIndex()
          Gets the index of the clicked point in the dataView.
 double getTransformedXValue()
          Gets the x transformed value (through the A0,A1,A2 polynomial transform) Does not make conversion in normal monitoring mode (not XY)
 double getTransformedYValue()
          Gets the y transformed value (through the A0,A1,A2 polynomial transform)
 java.lang.String getVersion()
           
 double getX()
          Gets the x value pixel coordinates
 double getXValue()
          Gets the x value (original value)
 double getY()
          Gets the y value pixel coordinates
 double getYValue()
          Gets the y value (original value)
 void setSource(java.lang.Object source)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

searchResult

public SearchInfo searchResult
Constructor Detail

JLChartEvent

public JLChartEvent(java.lang.Object source,
                    SearchInfo si)
Method Detail

setSource

public void setSource(java.lang.Object source)

getVersion

public java.lang.String getVersion()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

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()
Gets 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()
Gets 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