|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener for property changes.
Usage:
Preferences.IPropertyChangeListener listener = new Preferences.IPropertyChangeListener() { public void propertyChange(Preferences.PropertyChangeEvent event) { ... // code to deal with occurrence of property change } }; emitter.addPropertyChangeListener(listener); ... emitter.removePropertyChangeListener(listener);
Note: Depending on the means in which the property
values changed, the old and new values for the property can
be either typed, a string representation of the value, or null
.
Clients who wish to behave properly in all cases should all
three cases in their implementation of the property change listener.
Method Summary | |
---|---|
void |
propertyChange(Preferences.PropertyChangeEvent event)
Notification that a property has changed. |
Method Detail |
public void propertyChange(Preferences.PropertyChangeEvent event)
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
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.