com.realtime.crossfire.jxclient.util
Class HashedEventListenerList

java.lang.Object
  extended by com.realtime.crossfire.jxclient.util.HashedEventListenerList

public class HashedEventListenerList
extends java.lang.Object


Field Summary
private  java.util.Map<java.lang.Integer,javax.swing.event.EventListenerList> locationListeners
          The registered ItemListeners to be notified about changes.
 
Constructor Summary
HashedEventListenerList()
           
 
Method Summary
<T extends java.util.EventListener>
void
add(int index, java.lang.Class<T> class_, T listener)
           
<T extends java.util.EventListener>
T[]
getListeners(int index, java.lang.Class<T> class_)
           
private  javax.swing.event.EventListenerList getLocationListeners(int index)
           
<T extends java.util.EventListener>
void
remove(int index, java.lang.Class<T> class_, T listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locationListeners

@NotNull
private final java.util.Map<java.lang.Integer,javax.swing.event.EventListenerList> locationListeners
The registered ItemListeners to be notified about changes.

Constructor Detail

HashedEventListenerList

public HashedEventListenerList()
Method Detail

add

public <T extends java.util.EventListener> void add(int index,
                                                    @NotNull
                                                    java.lang.Class<T> class_,
                                                    @NotNull
                                                    T listener)

getListeners

@NotNull
public <T extends java.util.EventListener> T[] getListeners(int index,
                                                                    @NotNull
                                                                    java.lang.Class<T> class_)

getLocationListeners

@NotNull
private javax.swing.event.EventListenerList getLocationListeners(int index)

remove

public <T extends java.util.EventListener> void remove(int index,
                                                       @NotNull
                                                       java.lang.Class<T> class_,
                                                       @NotNull
                                                       T listener)