public class EventUtils
extends java.lang.Object
Constructor and Description |
---|
EventUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
sendEvent(Event event,
IEventListener[] listenerArray)
Sends an event to all listeners in an array of listeners
|
static void |
sendEvent(Event event,
ListenerList list)
Sends an event to all listeners in a ListenerList
|
static void |
sendToSource(Event event)
Sends the event to the source of the event.
|
public static void sendEvent(Event event, ListenerList list)
event
- The event to sendlist
- The listener list to receive the eventpublic static void sendEvent(Event event, IEventListener[] listenerArray)
event
- The event to sendlistenerArray
- Array of listeners to receive the eventpublic static void sendToSource(Event event)
event
- Built on April 12 2018