public class EventListenerIgnore extends Object implements EventListener<Object>
EventListener that simply ignores all events.| Modifier and Type | Field and Description |
|---|---|
private static EventListenerIgnore |
INSTANCE |
| Constructor and Description |
|---|
EventListenerIgnore()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> EventListener<E> |
getInstance() |
void |
handleEvent(Object event)
This method is called if an event occurred.
|
private static final EventListenerIgnore INSTANCE
getInstance()public static <E> EventListener<E> getInstance()
E - is the generic type of Events to listen.EventListenerIgnore.public void handleEvent(Object event)
EventSource it may NOT be legal to
add or remove listeners during the call of this method because this may lead to a dead-lock.event - is the event that notifies about something that happened.Copyright © 2001–2015 mmm-Team. All rights reserved.