Class SearchInfo
java.lang.Object
fr.esrf.tangoatk.widget.util.chart.SearchInfo
A class to handle search result. It is used when user clicks on the graph and when
the nearest value found is displayed
-
Field Summary
FieldsModifier and TypeFieldDescriptionAxis on which the view containing the point is displayedstatic final intValue tooltip BOTTOMLEFT placementstatic final intValue tooltip BOTTOMRIGHT placementintindex in the dataView that contains the clicked pointY DataView which contains the pointdoubleSquare distance from click to point (pixel)booleanTrue when a point has been foundintplacement of the tooltip panelstatic final intValue tooltip TOPLEFT placementstatic final intValue tooltip TOPRIGHT placementHandle to the y valueintX pixel coordinates of the point foundX DataView which countaing the point (XY monitoring)Handle to the X value (XY monitoring)intY pixel coordinates of the point found -
Method Summary
-
Field Details
-
TOPLEFT
public static final int TOPLEFTValue tooltip TOPLEFT placement- See Also:
-
TOPRIGHT
public static final int TOPRIGHTValue tooltip TOPRIGHT placement- See Also:
-
BOTTOMLEFT
public static final int BOTTOMLEFTValue tooltip BOTTOMLEFT placement- See Also:
-
BOTTOMRIGHT
public static final int BOTTOMRIGHTValue tooltip BOTTOMRIGHT placement- See Also:
-
found
public boolean foundTrue when a point has been found -
x
public int xX pixel coordinates of the point found -
y
public int yY pixel coordinates of the point found -
axis
Axis on which the view containing the point is displayed -
dataView
Y DataView which contains the point -
value
Handle to the y value -
xdataView
X DataView which countaing the point (XY monitoring) -
xvalue
Handle to the X value (XY monitoring) -
dist
public double distSquare distance from click to point (pixel) -
placement
public int placementplacement of the tooltip panel -
clickIdx
public int clickIdxindex in the dataView that contains the clicked point
-
-
Method Details