IntBoundedValidator
This is a Python binding to the C++ class Mantid::Kernel::IntBoundedValidator.
bases: mantid.kernel.IValidator
-
class mantid.kernel.IntBoundedValidator((object)arg1)
-
__init__((object)arg1) → None
__init__( (object)arg1 [, (object)lower=None [, (object)upper=None]]) -> object
__init__( (object)arg1 [, (object)lower=None [, (object)upper=None [, (bool)exclusive=False]]]) -> object
-
hasLower((IntBoundedValidator)self) → bool :
Returns True if a lower bound has been set
-
hasUpper((IntBoundedValidator)self) → bool :
Returns True if an upper bound has been set
-
isLowerExclusive((IntBoundedValidator)self) → bool :
Returns True if the lower bound is exclusive
-
isUpperExclusive((IntBoundedValidator)self) → bool :
Returns True if the upper bound is exclusive
-
lower((IntBoundedValidator)self) → int :
Returns the lower bound
-
setBounds((IntBoundedValidator)self, (int)lower, (int)upper) → None :
Set both bounds
-
setExclusive((IntBoundedValidator)self, (bool)exclusive) → None :
Sets both bounds to be inclusive/exclusive
-
setLower((IntBoundedValidator)self, (int)lower) → None :
Set the lower bound
-
setLowerExclusive((IntBoundedValidator)self, (bool)exclusive) → None :
Sets if the lower bound is exclusive
-
setUpper((IntBoundedValidator)self, (int)upper) → None :
Set the upper bound
-
setUpperExclusive((IntBoundedValidator)self, (bool)exclusive) → None :
Sets if the upper bound is exclsuive
-
upper((IntBoundedValidator)self) → int :
Returns the upper bound