Interface INativePropertyListener<S>
- Type Parameters:
S
- type of the source object
- All Known Implementing Classes:
NativePropertyListener
public interface INativePropertyListener<S>
A listener capable of adding or removing itself as a listener on a source
object using the source's "native" listener API. Events received from the
source objects are parlayed to the
ISimplePropertyListener
provided
to the method that constructed this native listener instance.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the receiver as a listener for property events on the specified property source.void
removeFrom
(S source) Removes the receiver as a listener for property events on the specified property source.
-
Method Details
-
addTo
Adds the receiver as a listener for property events on the specified property source.- Parameters:
source
- the property source (may be null)- Restriction:
- This method is not intended to be referenced by clients.
-
removeFrom
Removes the receiver as a listener for property events on the specified property source.- Parameters:
source
- the property source (may be null)- Restriction:
- This method is not intended to be referenced by clients.
-