|
Eclipse Draw2d 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.EventListenerList
public final class EventListenerList
This class is intended for internal use only. TODO: If this is for internal use only, we should move it to the internal package.
| Constructor Summary | |
|---|---|
EventListenerList()
|
|
| Method Summary | |
|---|---|
void |
addListener(Class c,
Object listener)
Adds a listener of type c to the list. |
boolean |
containsListener(Class c)
Returns true if this list of listeners contains a listener
of type c. |
Iterator |
getListeners(Class listenerType)
Returns an Iterator of all the listeners of type c. |
void |
removeListener(Class c,
Object listener)
Removes the first listener of the specified type by identity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventListenerList()
| Method Detail |
|---|
public void addListener(Class c,
Object listener)
c - the classlistener - the listenerpublic boolean containsListener(Class c)
true if this list of listeners contains a listener
of type c.
c - the type
public Iterator getListeners(Class listenerType)
listenerType - the type
public void removeListener(Class c,
Object listener)
c - the typelistener - the listener
|
Eclipse Draw2d 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||