Inherits from
- Instance: enthought.traits.trait_types.Instance
Attributes
Inherited from base classes
Method summary
Inherited from base classes
- __call__(self, *args, **kw)
- __getattr__(self, name)
- allow_none(self)
- arg_error(self, method, arg_num, object, name, value)
- as_ctrait(self)
- 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_class(self, klass)
- validate_failed(self, object, name, value)
Methods
- __init__(self, **kw)
Constructor.
- validate(self, object, name, value)
Validate a value.