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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.