cz.cuni.amis.utils.listener
Class IListener.Notifier<LISTENER extends IListener>
java.lang.Object
cz.cuni.amis.utils.listener.IListener.Notifier<LISTENER>
- Type Parameters:
EVENT
- LISTENER
-
- All Implemented Interfaces:
- Listeners.ListenerNotifier<LISTENER>
- Enclosing interface:
- IListener<T>
public static class IListener.Notifier<LISTENER extends IListener>
- extends Object
- implements Listeners.ListenerNotifier<LISTENER>
Convenient class for notifying about events using Listeners
or ListenersMap
.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IListener.Notifier
public IListener.Notifier(Object event)
getEvent
public Object getEvent()
- Specified by:
getEvent
in interface Listeners.ListenerNotifier<LISTENER extends IListener>
setEvent
public void setEvent(Object event)
notify
public void notify(LISTENER listener)
- Specified by:
notify
in interface Listeners.ListenerNotifier<LISTENER extends IListener>
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.