Crossfire JXClient, Trunk
|
Public Member Functions | |
void | add (final int index, @NotNull final T listener) |
Iterable< T > | getListeners (final int index) |
void | remove (final int index, @NotNull final T listener) |
Private Member Functions | |
EventListenerList2< T > | getLocationListeners (final int index) |
Private Attributes | |
final List< EventListenerList2< T > > | locationListeners = new ArrayList<>() |
Definition at line 30 of file IndexedEventListenerList.java.
void com.realtime.crossfire.jxclient.util.IndexedEventListenerList< T extends EventListener >.add | ( | final int | index, |
@NotNull final T | listener | ||
) |
Adds a listener.
index | the listener's index |
listener | the listener |
Definition at line 43 of file IndexedEventListenerList.java.
Iterable<T> com.realtime.crossfire.jxclient.util.IndexedEventListenerList< T extends EventListener >.getListeners | ( | final int | index | ) |
Returns all the listeners by index.
index | the listener's index |
Definition at line 62 of file IndexedEventListenerList.java.
|
private |
Definition at line 67 of file IndexedEventListenerList.java.
Referenced by com.realtime.crossfire.jxclient.util.IndexedEventListenerList< com.realtime.crossfire.jxclient.items.LocationListener >.add(), com.realtime.crossfire.jxclient.util.IndexedEventListenerList< com.realtime.crossfire.jxclient.items.LocationListener >.getListeners(), and com.realtime.crossfire.jxclient.util.IndexedEventListenerList< com.realtime.crossfire.jxclient.items.LocationListener >.remove().
void com.realtime.crossfire.jxclient.util.IndexedEventListenerList< T extends EventListener >.remove | ( | final int | index, |
@NotNull final T | listener | ||
) |
Removes a listener.
index | the listener's index |
listener | the listener |
Definition at line 52 of file IndexedEventListenerList.java.
|
private |
The registered listeners to be notified about changes.
Definition at line 36 of file IndexedEventListenerList.java.