Interface ChangeHub

  • All Known Implementing Classes:
    IndexedChangeHub

    public interface ChangeHub
    Interface implemented by ChangeHubs, i.e. classes that handle behaviour for multiple instances of Changeable classes.

    Listeners are indexed with a key and when an event is fired, only listeners with the same key are invoked. The class manages the mapping between key and listener. It is the users responsibility to compute the key.

    Since:
    1.3
    Author:
    Thomas Down (original implementation), David Huen (refactoring)