FloatBoundedValidator
This a python binding to the C++ class Mantid::Kernel::FloatBoundedValidator.
bases: mantid.kernel.IValidator
-
class mantid.kernel.FloatBoundedValidator((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((FloatBoundedValidator)arg1) → bool :
Returns True if a lower bound has been set
-
hasUpper((FloatBoundedValidator)arg1) → bool :
Returns True if an upper bound has been set
-
isLowerExclusive((FloatBoundedValidator)arg1) → bool :
Returns True if the lower bound is exclusive
-
isUpperExclusive((FloatBoundedValidator)arg1) → bool :
Returns True if the upper bound is exclusive
-
lower((FloatBoundedValidator)arg1) → float :
Returns the lower bound
-
setBounds((FloatBoundedValidator)arg1, (float)arg2, (float)arg3) → None :
Set both bounds
-
setExclusive((FloatBoundedValidator)arg1, (bool)arg2) → None :
Sets both bounds to be inclusive/exclusive
-
setLower((FloatBoundedValidator)arg1, (float)arg2) → None :
Set the lower bound
-
setLowerExclusive((FloatBoundedValidator)arg1, (bool)arg2) → None :
Sets if the lower bound is exclusive
-
setUpper((FloatBoundedValidator)arg1, (float)arg2) → None :
Set the upper bound
-
setUpperExclusive((FloatBoundedValidator)arg1, (bool)arg2) → None :
Sets if the upper bound is exclsuive
-
upper((FloatBoundedValidator)arg1) → float :
Returns the upper bound