Package org.loboevolution.common
Class EventDispatch
java.lang.Object
org.loboevolution.common.EventDispatch
EventDispatch class.
Author J. H. S.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addListener
(GenericEventListener listener) addListener.createListenerCollection.final void
fireEvent
(EventObject event) fireEvent.final void
removeListener
(GenericEventListener listener) removeListener.
-
Constructor Details
-
EventDispatch
public EventDispatch()Constructor for EventDispatch.
-
-
Method Details
-
addListener
addListener.
- Parameters:
listener
- aGenericEventListener
object.
-
createListenerCollection
createListenerCollection.
- Returns:
- a
Collection
object.
-
fireEvent
fireEvent.
- Parameters:
event
- aEventObject
object.
-
removeListener
removeListener.
- Parameters:
listener
- aGenericEventListener
object.
-