Eclipse Platform
2.0

org.eclipse.jface.util
Interface IPropertyChangeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
FieldEditorPreferencePage

public interface IPropertyChangeListener
extends EventListener

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);
 


Method Summary
 void propertyChange(PropertyChangeEvent event)
          Notification that a property has changed.
 

Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent event)
Notification that a property has changed.

This method gets called when the observed object fires a property change event.

Parameters:
event - the property change event object describing which property changed and how

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.