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 theISimplePropertyListener
provided to the method that constructed this native listener instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTo(S source)
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 Detail
-
addTo
void addTo(S source)
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
void removeFrom(S source)
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.
-
-