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.
Since:
1.2
See Also:
  • Method Summary

    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 Details

    • 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.