Inherits from
- Instance: enthought.traits.trait_types.Instance
Attributes
- adapt_default
adapt_default = 'yes'
Inherited from base classes
Method summary
- as_ctrait(self)
- modify_ctrait(self, ctrait)
- post_setattr(self, object, name, value)
Inherited from base classes
- __call__(self, *args, **kw)
- __getattr__(self, name)
- __init__(self, klass = None, factory = None, args = None, kw = None, allow_none = True, adapt = None, module = None, **metadata)
- allow_none(self)
- arg_error(self, method, arg_num, object, name, value)
- clone(self, default_value = Missing, **metadata)
- create_default_value(self, *args, **kw)
- create_editor(self)
- dup_arg_error(self, method, arg_num, object, name)
- error(self, object, name, value)
- find_class(self, klass)
- full_info(self, object, name, value)
- get_default_value(self)
- get_editor(self, trait = None)
- get_value(self, object, name, trait = None)
- info(self)
- init(self)
- init_fast_validate(self)
- 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)
- resolve_class(self, object, name, value)
- return_error(self, method, object, value)
- set_value(self, object, name, value)
- validate(self, object, name, value)
- validate_class(self, klass)
- validate_failed(self, object, name, value)
Methods
- as_ctrait(self)
Returns a CTrait corresponding to the trait defined by this class.
- modify_ctrait(self, ctrait)
- post_setattr(self, object, name, value)
Performs additional post-assignment processing.