Class ClosestNumericValue

    • Constructor Detail

      • ClosestNumericValue

        public ClosestNumericValue()
    • Method Detail

      • setAttributeIndex

        public void setAttributeIndex​(SpreadSheetColumnIndex value)
        Sets the index of the column to perform the matching on.
        Parameters:
        value - the index
      • getAttributeIndex

        public SpreadSheetColumnIndex getAttributeIndex()
        Returns the index of the column to perform the matching on.
        Returns:
        the index
      • attributeIndexTipText

        public String attributeIndexTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setValue

        public void setValue​(double value)
        Sets the value to get closest to.
        Parameters:
        value - the value
      • getValue

        public double getValue()
        Returns the value to get closest to.
        Returns:
        the value
      • valueTipText

        public String valueTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • searchDirectionTipText

        public String searchDirectionTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • doFindRows

        protected int[] doFindRows​(SpreadSheet data)
        Returns the rows of interest in the spreadsheet.
        Specified by:
        doFindRows in class AbstractRowFinder
        Parameters:
        data - the spreadsheet to inspect
        Returns:
        the rows of interest