Inherits from
- TraitMap: enthought.traits.trait_handlers.TraitMap
Attributes
Inherited from base classes
Method summary
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)
- 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, map)
Creates a TraitPrefixMap handler.
Parameters
- map : dictionary
- A dictionary whose keys are strings that are valid values for the trait attribute, and whose corresponding values are the values for the shadow trait attribute.
- info(self)
- validate(self, object, name, value)