org.eclipse.net4j.util.event
Class Notifier

java.lang.Object
  extended by org.eclipse.net4j.util.event.Notifier
All Implemented Interfaces:
INotifier, INotifier.Introspection
Direct Known Subclasses:
AbstractDelegator, FailOverStrategy, History, Lifecycle

public class Notifier
extends java.lang.Object
implements INotifier.Introspection


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.Introspection
 
Constructor Summary
Notifier()
           
 
Method Summary
 void addListener(IListener listener)
           
 void fireEvent(IEvent event)
           
 IListener[] getListeners()
           
 boolean hasListeners()
           
 void removeListener(IListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notifier

public Notifier()
Method Detail

addListener

public void addListener(IListener listener)
Specified by:
addListener in interface INotifier

removeListener

public void removeListener(IListener listener)
Specified by:
removeListener in interface INotifier

hasListeners

public boolean hasListeners()
Specified by:
hasListeners in interface INotifier.Introspection

getListeners

public IListener[] getListeners()
Specified by:
getListeners in interface INotifier.Introspection

fireEvent

public void fireEvent(IEvent event)

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.