public class ListenerList
extends java.lang.Object
implements java.io.Serializable, java.lang.Iterable<java.util.EventListener>
构造器和说明 |
---|
ListenerList() |
限定符和类型 | 方法和说明 |
---|---|
void |
addListener(java.util.EventListener listener) |
int |
getListenerCount() |
java.util.Iterator<java.util.EventListener> |
iterator()
Return an
Iterator for the EventListener instances. |
void |
removeListener(java.util.EventListener listener) |
public void addListener(java.util.EventListener listener)
public void removeListener(java.util.EventListener listener)
public int getListenerCount()
public java.util.Iterator<java.util.EventListener> iterator()
Iterator
for the EventListener
instances.iterator
在接口中 java.lang.Iterable<java.util.EventListener>
Iterator
for the EventListener
instances