Package Products :: Package ZenUtils :: Module observable :: Class ObservableMixin
[hide private]
[frames] | no frames]

Class ObservableMixin

source code

object --+
         |
        ObservableMixin
Known Subclasses:

A mixin class that provides an implementation of the IObservable interface for any new-style class to use. This implementation will provide notification for all attribute changes, except for the attributes used to track the registered observers themselves.

Instance Methods [hide private]
 
__init__(self) source code
 
attachAttributeObserver(self, name, observer) source code
 
detachAttributeObserver(self, name, observer) source code
 
notifyAttributeChange(self, name, oldValue, newValue) source code
 
__setattr__(self, name, newValue) source code
Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

__setattr__(self, name, newValue)

source code 
Overrides: object.__setattr__
(inherited documentation)