com.objectplanet.survey.event
Class EventUtils

java.lang.Object
  extended by com.objectplanet.survey.event.EventUtils

public class EventUtils
extends java.lang.Object

Utility methods for the Event classes

Author:
Torgeir Lund
Created:
03. November 2005

Constructor Summary
EventUtils()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventUtils

public EventUtils()
Method Detail

sendEvent

public static void sendEvent(Event event,
                             ListenerList list)
Sends an event to all listeners in a ListenerList

Parameters:
event - The event to send
list - The listener list to receive the event

sendEvent

public static void sendEvent(Event event,
                             IEventListener[] listenerArray)
Sends an event to all listeners in an array of listeners

Parameters:
event - The event to send
listenerArray - Array of listeners to receive the event

sendToSource

public static void sendToSource(Event event)
Sends the event to the source of the event.

Parameters:
event -

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016