jview
Interface EclecticPropertyListener
- All Superinterfaces:
- EventListener, PropertyChangeListener
- All Known Implementing Classes:
- JAnalyserToFit, JDataModelDisplay, JExtremaSelect, UserDrivenFitting
public interface EclecticPropertyListener
- extends PropertyChangeListener
Extends the property change listener interface with a method that let a
property change caster decide, if the listener should wants to register
to a certain type of property change, defined by the property name. This
can circumvent unnecassary passing of property change events to listeners
that to not want to receive them.
|
Method Summary |
boolean |
isInterested(String name)
If the listener returns true on this method, it announces interest
in receiving properties of the given name. |
isInterested
boolean isInterested(String name)
- If the listener returns true on this method, it announces interest
in receiving properties of the given name. Normally this is used in
a scenary, where a property change caster fires a huge number of
different event to circument unneccassary invocations of the
listener.
- Parameters:
name - The property name to query.
- Returns:
- True, if this listener would like to listen to this property.