public class DefaultNumericDataValidator extends DataValidator
ALWAYS_VALID, NEVER_VALID| Constructor and Description |
|---|
DefaultNumericDataValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(int columnIndex,
int rowIndex,
Object newValue) |
validatepublic boolean validate(int columnIndex,
int rowIndex,
Object newValue)
validate in interface IDataValidatorvalidate in class DataValidatorcolumnIndex - Index of the column being validatedrowIndex - Index of the row being validatednewValue - 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 methodIDataProvider.getDataValue(int, int)Copyright © 2019. All rights reserved.