eWON JTK

com.ewon.ewonitf
Class NamedListenerRegistry

java.lang.Object
  extended by com.ewon.ewonitf.ListenerRegistryBase
      extended by com.ewon.ewonitf.NamedListenerRegistry
All Implemented Interfaces:
Runnable

public class NamedListenerRegistry
extends ListenerRegistryBase


Field Summary
 
Fields inherited from class com.ewon.ewonitf.ListenerRegistryBase
defaultListener
 
Constructor Summary
NamedListenerRegistry()
          Creates a new instance of NamedListenerRegistry
 
Method Summary
 void addListener(String listenerName, EvtListener listener)
          Add a new listener object to the listener list.
protected  void callListenerInternal(int eventHandler, String listenerName, int paramInt)
          This function actually executes the Event action
 
Methods inherited from class com.ewon.ewonitf.ListenerRegistryBase
callListener, run, setThreadMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedListenerRegistry

public NamedListenerRegistry()
Creates a new instance of NamedListenerRegistry

Method Detail

addListener

public void addListener(String listenerName,
                        EvtListener listener)
Add a new listener object to the listener list. The listener is identifed by its listenerName.


callListenerInternal

protected void callListenerInternal(int eventHandler,
                                    String listenerName,
                                    int paramInt)
This function actually executes the Event action

Overrides:
callListenerInternal in class ListenerRegistryBase

eWON JTK

www.eWON.biz: Your Eyes Watching Over Net