Class NFEEventSupport<U extends java.util.EventListener>
- java.lang.Object
-
- oracle.spatial.network.nfe.model.event.NFEEventSupport<U>
-
- Type Parameters:
U
- The type of EventListener subclass
public class NFEEventSupport<U extends java.util.EventListener> extends java.lang.Object
Utility class used to subscribe and remove listener used by class which fire model events.
-
-
Constructor Summary
Constructors Constructor Description NFEEventSupport()
Allocates a new NFEEventSupport object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(U listener)
Adds a new listenerjava.util.Collection<U>
getListeners()
Gets all the listenersvoid
removeListener(U listener)
Removes a listener
-
-
-
Method Detail
-
addListener
public void addListener(U listener)
Adds a new listener- Parameters:
listener
- listener
-
removeListener
public void removeListener(U listener)
Removes a listener- Parameters:
listener
-
-
getListeners
public java.util.Collection<U> getListeners()
Gets all the listeners- Returns:
- listeners
-
-