Superclass for classes that support dynamic properties
dynamicprops is an abstract class derived
dynamicprops to define classes that support
MyClass < dynamicprops
subclass of the
dynamicprops class. Classes derived
dynamicprops can create objects that support
dynamic properties (also know as instance properties). Dynamic properties
are associated with a specific object of the class, but are not part
of the class definition. Use dynamic properties to attach temporary
data to objects.
false when comparing objects that
have dynamic properties, even if the properties have the same name
and value. If you need to compare objects that contain dynamic properties,
isequal for your class.
This class defines one method
as a subclass of the
handle class, inherits all
handle class methods.
|addprop||Add dynamic property|
Triggered when a property is added
Triggered when a property is removed
Triggered when the object is destroyed
event.DynamicPropertyEvent objects to listeners.
Name of property being added or removed
Object that is the source of the event
Name of event
For information on class attributes, see Class Attributes.
Derive a class from the
classdef MyClass < dynamicprops ... end