public final class EventUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static IListener[] |
NO_LISTENERS |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(java.lang.Object notifier,
IListener listener) |
static boolean |
addUniqueListener(java.lang.Object notifier,
IListener listener) |
static IListener[] |
getListeners(java.lang.Object notifier) |
static boolean |
hasListener(java.lang.Object notifier,
IListener listener) |
static boolean |
removeListener(java.lang.Object notifier,
IListener listener) |
public static final IListener[] NO_LISTENERS
public static boolean addUniqueListener(java.lang.Object notifier, IListener listener)
public static boolean addListener(java.lang.Object notifier, IListener listener)
public static boolean removeListener(java.lang.Object notifier, IListener listener)
public static IListener[] getListeners(java.lang.Object notifier)
public static boolean hasListener(java.lang.Object notifier, IListener listener)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html