|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the event objectpublic interface Event<T>
An interface for firing events of a particular type, and registering observers for events of that type.
| Method Summary | |
|---|---|
void |
fire(T event,
java.lang.annotation.Annotation... bindings)
Fire an event |
void |
observe(Observer<T> observer,
java.lang.annotation.Annotation... bindings)
Register an observer for a specific type |
| Method Detail |
|---|
void fire(T event,
java.lang.annotation.Annotation... bindings)
event - the event typebindings - the event bindings
void observe(Observer<T> observer,
java.lang.annotation.Annotation... bindings)
observer - the observer to registerbindings - the bindings to observe the event for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||