org.eclipse.net4j.util.event
Class EventUtil
java.lang.Object
org.eclipse.net4j.util.event.EventUtil
- public final class EventUtil
- extends Object
Various static helper methods for dealing with events
, notifiers
and
listeners
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_LISTENERS
public static final IListener[] NO_LISTENERS
- Since:
- 3.0
addUniqueListener
public static boolean addUniqueListener(Object notifier,
IListener listener)
- Since:
- 3.2
addListener
public static boolean addListener(Object notifier,
IListener listener)
removeListener
public static boolean removeListener(Object notifier,
IListener listener)
getListeners
public static IListener[] getListeners(Object notifier)
hasListener
public static boolean hasListener(Object notifier,
IListener listener)
- Since:
- 3.2
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.