Class DefaultNumericDataValidator

    • Constructor Detail

      • DefaultNumericDataValidator

        public DefaultNumericDataValidator()
    • Method Detail

      • validate

        public boolean validate​(int columnIndex,
                                int rowIndex,
                                Object newValue)
        Specified by:
        validate in interface IDataValidator
        Specified by:
        validate in class DataValidator
        Parameters:
        columnIndex - Index of the column being validated
        rowIndex - Index of the row being validated
        newValue - Value entered through the edit control text box, combo box etc. Note: In case of the TextCellEditor the text typed in by the user will be converted to the canonical value using the IDisplayConverter before it hits this method
        Returns:
        true if newValue is valid, false otherwise.
        See Also:
        IDataProvider.getDataValue(int, int)