Class JLChartEvent
java.lang.Object
java.util.EventObject
fr.esrf.tangoatk.widget.util.chart.JLChartEvent
- All Implemented Interfaces:
Serializable
Event sent when when the user click on the graph
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionJLChartEvent(Object source, SearchInfo si) JLChartEvent(Object source, SearchInfo si, MouseEvent srcEvent) -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the dataView that contains the clicked point.intGets the index of the clicked point in the dataView.doubledoubledoublegetX()Gets the x value pixel coordinatesdoubleGets the x value (original value)doublegetY()Gets the y value pixel coordinatesdoubleGets the y value (original value)voidMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
searchResult
-
-
Constructor Details
-
JLChartEvent
-
JLChartEvent
-
-
Method Details
-
setSource
-
getVersion
-
clone
-
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
Gets the dataView that contains the clicked point.- Returns:
- DataView
-