Class SearchInfo

java.lang.Object
fr.esrf.tangoatk.widget.util.chart.SearchInfo

public class SearchInfo extends Object
A class to handle search result. It is used when user clicks on the graph and when the nearest value found is displayed
  • Field Details

    • TOPLEFT

      public static final int TOPLEFT
      Value tooltip TOPLEFT placement
      See Also:
    • TOPRIGHT

      public static final int TOPRIGHT
      Value tooltip TOPRIGHT placement
      See Also:
    • BOTTOMLEFT

      public static final int BOTTOMLEFT
      Value tooltip BOTTOMLEFT placement
      See Also:
    • BOTTOMRIGHT

      public static final int BOTTOMRIGHT
      Value tooltip BOTTOMRIGHT placement
      See Also:
    • found

      public boolean found
      True when a point has been found
    • x

      public int x
      X pixel coordinates of the point found
    • y

      public int y
      Y pixel coordinates of the point found
    • axis

      public JLAxis axis
      Axis on which the view containing the point is displayed
    • dataView

      public JLDataView dataView
      Y DataView which contains the point
    • value

      public DataList value
      Handle to the y value
    • xdataView

      public JLDataView xdataView
      X DataView which countaing the point (XY monitoring)
    • xvalue

      public DataList xvalue
      Handle to the X value (XY monitoring)
    • dist

      public double dist
      Square distance from click to point (pixel)
    • placement

      public int placement
      placement of the tooltip panel
    • clickIdx

      public int clickIdx
      index in the dataView that contains the clicked point
  • Method Details