Inherits from
- TraitHandler: enthought.traits.trait_handlers.TraitHandler
Attributes
- default_value_type
default_value_type = 7
Method summary
- __init__(self, dtype = None, shape = None, coerce = False, typecode = None)
- copy_default_value(self, value)
- default_value(self, value)
- get_editor(self, trait)
- info(self)
- validate(self, object, name, value)
Methods
- __init__(self, dtype = None, shape = None, coerce = False, typecode = None)
- copy_default_value(self, value)
Returns a copy of the default value (called from the C code on first reference to a trait with no current value).
- default_value(self, value)
Returns the default value constructor for the type (called from the trait factory).
- get_editor(self, trait)
Gets the trait editor associated with the trait.
- info(self)
Returns descriptive information about the trait.
- validate(self, object, name, value)
Validates that a value is legal for the trait.