|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventListener<E>
A listener for a given kind of event.
The annotations SwingEDTEvent and BlockingEvent can be added
to implementations of handleEvent(Object) in order to
allow those events to be dispatched on the EDT thread or a new thread.
If classes want to delegate implementations of EventListener, it is
important that the delegate listener's handleEvent(E) method
is called via EventListenerList.dispatch(EventListener, Object). This
ensures that the event is dispatched appropriately, according to the
annotation on the delegate listener.
| Method Summary | |
|---|---|
void |
handleEvent(E event)
Notification that an event has occurred and should be handled. |
| Method Detail |
|---|
void handleEvent(E event)
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||