public class IlvHashedEventDispatcher extends IlvAbstractEventDispatcher
IlvHashedEventDispatcher
is an event dispatcher backed by a set
of event listeners. Some of the pros and cons of using an
IlvHashedEventDispatcher
are:
IlvHashedEventDispatcher
has nearly constant performance for
adding and removing event listeners.IlvListEventDispatcher
.IlvListEventDispatcher
listeners
Constructor and Description |
---|
IlvHashedEventDispatcher()
Creates a new
IlvHashedEventDispatcher . |
Modifier and Type | Method and Description |
---|---|
protected IlvEventListenerCollection |
createListeners()
Creates and returns a new collection of event listeners.
|
addListener, publish, removeListener
public IlvHashedEventDispatcher()
IlvHashedEventDispatcher
.protected IlvEventListenerCollection createListeners()
createListeners
in class IlvAbstractEventDispatcher
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.