|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventListenerGroup<T>
Contract for a groups of events listeners for a particular event type.
Method Summary | |
---|---|
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)
|
Method Detail |
---|
EventType<T> getEventType()
boolean isEmpty()
int count()
Iterable<T> listeners()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |