Class DefaultDataValidator

All Implemented Interfaces:

public class DefaultDataValidator extends DataValidator
  • Constructor Details

    • DefaultDataValidator

      public DefaultDataValidator()
  • Method Details

    • validate

      public boolean validate(int columnIndex, int rowIndex, Object newValue)
      Specified by:
      validate in interface IDataValidator
      Specified by:
      validate in class DataValidator
      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
      true if newValue is valid, false otherwise.
      See Also: