com.datamessenger.util
Class SimpleListenerList
java.lang.Object
|
+--com.datamessenger.util.SimpleListenerList
- public class SimpleListenerList
- extends java.lang.Object
Provides an enumeration mechanism for Event Object distribution to
EventListeners. Classes using this object are trusted to varify that all
Listeners added to the list, with the same Class key, are of the same instance type
as the key itself.
|
Method Summary |
void |
addListener(java.lang.Class key,
java.util.EventListener l)
|
void |
clear()
|
void |
fireEvent(java.lang.Class listType,
java.lang.Class evtType,
java.lang.String method,
java.util.EventObject evt)
|
void |
removeListener(java.lang.Class key,
java.util.EventListener l)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SimpleListenerList
public SimpleListenerList()
addListener
public void addListener(java.lang.Class key,
java.util.EventListener l)
removeListener
public void removeListener(java.lang.Class key,
java.util.EventListener l)
clear
public void clear()
fireEvent
public void fireEvent(java.lang.Class listType,
java.lang.Class evtType,
java.lang.String method,
java.util.EventObject evt)
Comments, suggestions, and bug reports are welcomed and encouraged. Please refer them to our support page. Thank you. |
Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.