org.eclipse.jpt.common.utility.model.listener
Class PropertyChangeAdapter
java.lang.Object
org.eclipse.jpt.common.utility.model.listener.PropertyChangeAdapter
- All Implemented Interfaces:
- EventListener, PropertyChangeListener
public class PropertyChangeAdapter
- extends Object
- implements PropertyChangeListener
Convenience implementation of PropertyChangeListener.
This is probably of limited use, since there only a single method to implement;
maybe it is useful as a null implementation. One minor benefit is the
implementation of toString().
Provisional API: This class is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
PropertyChangeAdapter
public PropertyChangeAdapter()
propertyChanged
public void propertyChanged(PropertyChangeEvent event)
- Description copied from interface:
PropertyChangeListener
- This method gets called when a model has changed a bound property.
- Specified by:
propertyChanged in interface PropertyChangeListener
- Parameters:
event - An event describing the event source
and the property's old and new values.
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.