cz.cuni.amis.utils.listener
Class IListener.Notifier<LISTENER extends IListener>

Package class diagram package IListener.Notifier
java.lang.Object
  extended by 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

Constructor Summary
IListener.Notifier(Object event)
           
 
Method Summary
 Object getEvent()
           
 void notify(LISTENER listener)
           
 void setEvent(Object event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IListener.Notifier

public IListener.Notifier(Object event)
Method Detail

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 © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.