public interface EventListenerGroup<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addDuplicationStrategy(DuplicationStrategy strategy)
Mechanism to more finely control the notion of duplicates.
|
void |
appendListener(T listener) |
void |
appendListeners(T... listeners) |
void |
clear() |
int |
count() |
EventType<T> |
getEventType()
Retrieve the event type associated with this groups of listeners.
|
boolean |
isEmpty()
Are there no listeners registered?
|
Iterable<T> |
listeners() |
void |
prependListener(T listener) |
void |
prependListeners(T... listeners) |
EventType<T> getEventType()
boolean isEmpty()
int count()
void addDuplicationStrategy(DuplicationStrategy strategy)
strategy
- The duplication strategyvoid appendListener(T listener)
void appendListeners(T... listeners)
void prependListener(T listener)
void prependListeners(T... listeners)
void clear()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.