Inherits from
- BaseType: enthought.traits.trait_types.BaseType
Attributes
- fast_validate
The C-level fast validator to use:
fast_validate = (2)
- info_text
A description of the type of value this trait accepts:
info_text = 'an instance of the same type as the receiver'
Inherited from base classes
Method summary
- __init__(self, value = None, allow_none = True, **metadata)
- info(self)
- info_none(self)
- validate(self, object, name, value)
- validate_failed(self, object, name, value)
- validate_none(self, object, name, value)
Inherited from base classes
- arg_error(self, method, arg_num, object, name, value)
- create_editor(self)
- dup_arg_error(self, method, arg_num, object, name)
- error(self, object, name, value)
- full_info(self, object, name, value)
- get_editor(self, trait = None)
- inner_traits(self)
- is_valid(self, object, name, value)
- keyword_error(self, method, object, name, value)
- missing_arg_error(self, method, arg_num, object, name)
- repr(self, value)
- return_error(self, method, object, value)
Methods
- __init__(self, value = None, allow_none = True, **metadata)
- info(self)
- info_none(self)
- validate(self, object, name, value)
- validate_failed(self, object, name, value)
- validate_none(self, object, name, value)