Package org.jutil.event

Interface Summary
ApplicabilityNotifier Instances of this type add the posibility for users to ask whether the instance is applicable to a given listener/event combination. The ChainNotifier chains instances of this type.
EventTypeReliancy This model type extends the Notifier contract, stating that only non-null events of type eventType are considered valid. If your notifier only accepts non-null events of type eventType as valid events, you can simply model implement this type to inherit that contract.
ListenerTypeReliancy This model type states that only listeners of type listenerType are considered valid.
ListenerValidity This model type introduces a model method which can be used to describe the validity of EventListener instances in a class.
Notifier Notifier instances are used to call the correct call-back method defined in a listener type when EventSourceSupport fires events.
NullEventReliancy This model type extends the Notifier contract, stating that only null is valid as event. If your notifier only accepts null as valid events, you can simply model implement this type to inherit that contract.
 

Class Summary
ChainNotifier  
EventSourceSupport This class is a support class for event sources.
TypeApplicabilityNotifier A support class for optional notifiers that depend on the type of the listener and the event to be processed. Most often a ChainNotifier will be used in the case where the EventSourceSupport contains listeners of different types, or when different call-back methods of the listeners need to be called depending on the type of the event fired.