Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <berryIPropertyChangeListener.h>
Classes | |
struct | Events |
Public Member Functions | |
virtual | ~IPropertyChangeListener () |
virtual void | PropertyChange (const PropertyChangeEvent::Pointer &event) |
virtual void | PropertyChange (const Object::Pointer &, int) |
Listener for property changes.
Usage:
IPropertyChangeListener listener = new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { ... // code to deal with occurrence of property change } }; emitter.addPropertyChangeListener(listener); ... emitter.removePropertyChangeListener(listener);
Definition at line 42 of file berryIPropertyChangeListener.h.
|
virtual |
|
inlinevirtual |
Reimplemented in berry::PropertyChangeIntAdapter< R >.
Definition at line 73 of file berryIPropertyChangeListener.h.
|
virtual |
Notification that a property has changed.
This method gets called when the observed object fires a property change event.
event | the property change event object describing which property changed and how |
Reimplemented in berry::PropertyChangeAdapter< R >.