public class ListCallbackRegistry<E extends Event> extends Object implements CallbackRegistry<E>
Constructor and Description |
---|
ListCallbackRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(EventCallback<E> c) |
void |
clearCallbacks() |
List<EventCallback<E>> |
getCallbacks() |
void |
removeCallback(EventCallback<E> c) |
public void addCallback(EventCallback<E> c)
addCallback
in interface CallbackRegistry<E extends Event>
public void removeCallback(EventCallback<E> c)
removeCallback
in interface CallbackRegistry<E extends Event>
public void clearCallbacks()
clearCallbacks
in interface CallbackRegistry<E extends Event>
public List<EventCallback<E>> getCallbacks()
getCallbacks
in interface CallbackRegistry<E extends Event>
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.