JHPcte
Class PcteEventMulticaster

java.lang.Object
  |
  +--JHPcte.PcteEventMulticaster
All Implemented Interfaces:
java.util.EventListener, PcteNotificationListener

public class PcteEventMulticaster
extends java.lang.Object
implements PcteNotificationListener

manage a list of listeners and forward notification events to them


Field Summary
protected  java.util.Vector listeners
           
 
Constructor Summary
PcteEventMulticaster()
          constructor
 
Method Summary
 void addListener(PcteNotificationListener l)
          add an event listener to the list
 void pcteNotify(PcteNotificationEvent e)
          forward the event to all listeners
 void removeListener(PcteNotificationListener l)
          remove an event listener
 int size()
          return number of listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

protected java.util.Vector listeners
Constructor Detail

PcteEventMulticaster

public PcteEventMulticaster()
constructor
Method Detail

addListener

public void addListener(PcteNotificationListener l)
add an event listener to the list

removeListener

public void removeListener(PcteNotificationListener l)
remove an event listener

pcteNotify

public void pcteNotify(PcteNotificationEvent e)
forward the event to all listeners
Specified by:
pcteNotify in interface PcteNotificationListener

size

public int size()
return number of listeners