org.omnaest.utils.events
Interface EventListenerRegistration<EVENT,RESULT>
- All Known Implementing Classes:
- EventListenerRegistrationImpl
public interface EventListenerRegistration<EVENT,RESULT>
addEventListener
EventListenerRegistration<EVENT,RESULT> addEventListener(EventListener<EVENT,RESULT> listener)
- Adds a new
EventListener to the handler.
- Parameters:
listener -
- Returns:
- this
removeEventListener
EventListenerRegistration<EVENT,RESULT> removeEventListener(EventListener<EVENT,RESULT> listener)
- Removes a given
EventListener instance from the handler.
- Parameters:
listener -
- Returns:
- this
Copyright © 2013. All Rights Reserved.