Crossfire JXClient, Trunk
R20561
|
Public Member Functions | |
void | add (final int index, @NotNull final T listener) |
Adds a listener. More... | |
Iterable< T > | getListeners (final int index) |
Returns all the listeners by index. More... | |
void | remove (final int index, @NotNull final T listener) |
Removes a listener. More... | |
Private Member Functions | |
EventListenerList2< T > | getLocationListeners (final int index) |
Private Attributes | |
final List< EventListenerList2< T > > | locationListeners = new ArrayList<>() |
The registered listeners to be notified about changes. More... | |
Definition at line 29 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 42 of file IndexedEventListenerList.java.
Referenced by com.realtime.crossfire.jxclient.items.AbstractItemView.addLocationListener().
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 61 of file IndexedEventListenerList.java.
Referenced by com.realtime.crossfire.jxclient.items.AbstractItemView.deliverEvents().
|
private |
Definition at line 66 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 51 of file IndexedEventListenerList.java.
Referenced by com.realtime.crossfire.jxclient.items.AbstractItemView.removeLocationListener().
|
private |
The registered listeners to be notified about changes.
Definition at line 35 of file IndexedEventListenerList.java.