U
- The type of EventListener subclass
public class NFEEventSupport<U extends java.util.EventListener>
extends java.lang.Object
Constructor and Description |
---|
NFEEventSupport()
Allocates a new NFEEventSupport object
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(U listener)
Adds a new listener
|
java.util.Collection<U> |
getListeners()
Gets all the listeners
|
void |
removeListener(U listener)
Removes a listener
|
public void addListener(U listener)
listener
- listenerpublic void removeListener(U listener)
listener
-public java.util.Collection<U> getListeners()