public class Event4Impl<T extends EventArgs> extends java.lang.Object implements Event4<T>
| Modifier | Constructor and Description |
|---|---|
protected |
Event4Impl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(EventListener4<T> listener)
Adds a new listener to the notification list..
|
boolean |
hasListeners() |
static <T extends EventArgs> |
newInstance() |
protected void |
onListenerAdded()
Might be overridden whenever specific events need
to know when listeners subscribe to the event.
|
void |
removeListener(EventListener4<T> listener)
Removes a previously registered listener from the notification list.
|
void |
trigger(T args) |
public static <T extends EventArgs> Event4Impl<T> newInstance()
public final void addListener(EventListener4<T> listener)
Event4addListener in interface Event4<T extends EventArgs>protected void onListenerAdded()
public final void removeListener(EventListener4<T> listener)
Event4removeListener in interface Event4<T extends EventArgs>public final void trigger(T args)
public boolean hasListeners()