public interface EventListenersContainer
EventListenerItem
instances.
This is responsible for registering all the event listener item.Modifier and Type | Method and Description |
---|---|
void |
addEventListenerItem(EventListenerItem eventListenerItem)
Adds an event listener item.
|
List<EventListenerItem> |
getEventListenerItems()
Returns a list of the event listener items.
|
boolean |
removeEventListenerItem(EventListenerItem eventListenerItem)
Removes an event listener item.
|
void |
setEventListenerItems(List<EventListenerItem> eventListenerItems)
Sets event listener items.
|
void |
start()
Registers all event listener items and
starts the event listener container.
|
void |
stop()
Removes all event listener items and
stop the event listener container.
|
void setEventListenerItems(List<EventListenerItem> eventListenerItems)
Note: Implementations could store the event listener items into a copied list. So, the argument should not be assumed as a mutable list.
eventListenerItems
- void addEventListenerItem(EventListenerItem eventListenerItem)
eventListenerItem
- boolean removeEventListenerItem(EventListenerItem eventListenerItem)
eventListenerItem
- List<EventListenerItem> getEventListenerItems()
Note: Implementations could return a copied list of the event listener items. So, the return should not be assumed as a mutable list.
void start()
void stop()
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.