public interface EventService
Modifier and Type | Method and Description |
---|---|
void |
addListener(EventListener listener)
Add a MaverickListener to the list of objects that will be sent
MaverickEvents.
|
void |
addListener(String threadPrefix,
EventListener listener)
Add a MaverickListener to the list of objects that will be sent
MaverickEvents.
|
void |
fireEvent(Event evt)
Fire a MaverickEvent at all MaverickListeners that have registered an
interest in events.
|
void |
removeListener(String threadPrefix)
Remove a MaverickListener from the list of objects that will be sent
MaverickEventss.
|
void addListener(EventListener listener)
listener
- listener to addvoid addListener(String threadPrefix, EventListener listener)
listener
- listener to addvoid removeListener(String threadPrefix)
listener
- listener to removevoid fireEvent(Event evt)
evt
- event to fire to all listenerCopyright © 2014. All rights reserved.