Class HashedEventListenerList<T extends EventListener>
java.lang.Object
com.realtime.crossfire.jxclient.util.HashedEventListenerList<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HashedEventListenerList
public HashedEventListenerList()
-
-
Method Details
-
add
Adds a listener.- Parameters:
index- the listener's indexlistener- the listener
-
remove
Removes a listener.- Parameters:
index- the listener's indexlistener- the listener
-
getListeners
Returns an array of all the listeners.- Parameters:
index- the listener's index- Returns:
- all the listeners
-