IntBoundedValidator

This 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)arg1) → bool :

Returns True if a lower bound has been set

hasUpper((IntBoundedValidator)arg1) → bool :

Returns True if an upper bound has been set

isLowerExclusive((IntBoundedValidator)arg1) → bool :

Returns True if the lower bound is exclusive

isUpperExclusive((IntBoundedValidator)arg1) → bool :

Returns True if the upper bound is exclusive

lower((IntBoundedValidator)arg1) → int :

Returns the lower bound

setBounds((IntBoundedValidator)arg1, (int)arg2, (int)arg3) → None :

Set both bounds

setExclusive((IntBoundedValidator)arg1, (bool)arg2) → None :

Sets both bounds to be inclusive/exclusive

setLower((IntBoundedValidator)arg1, (int)arg2) → None :

Set the lower bound

setLowerExclusive((IntBoundedValidator)arg1, (bool)arg2) → None :

Sets if the lower bound is exclusive

setUpper((IntBoundedValidator)arg1, (int)arg2) → None :

Set the upper bound

setUpperExclusive((IntBoundedValidator)arg1, (bool)arg2) → None :

Sets if the upper bound is exclsuive

upper((IntBoundedValidator)arg1) → int :

Returns the upper bound