Class IntegerRangeValidator

  • All Implemented Interfaces:
    org.eclipse.core.databinding.validation.IValidator

    public class IntegerRangeValidator
    extends Validator<Integer>
    Validates integer ranges.
    • Constructor Detail

      • IntegerRangeValidator

        public IntegerRangeValidator​(int minValue,
                                     int maxValue)
        Instantiates a new integer range validator.
        Parameters:
        minValue - the min value.
        maxValue - the max value.
    • Method Detail

      • getMinValue

        public int getMinValue()
        Returns:
        the min range value.
      • getMaxValue

        public int getMaxValue()
        Returns:
        the max range value.