protected class ListenerList.EventListenerNode extends java.lang.Object implements ListenerHandle<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
listener |
protected ListenerList.EventListenerNode |
next |
protected ListenerList.EventListenerNode |
prev |
protected int |
priority |
| Constructor and Description |
|---|
EventListenerNode(T handler,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes (unregisters) the event listener from the list it was registered to.
|
T |
getListener()
Gets this handle's listener.
|
protected final T listener
protected final int priority
protected ListenerList.EventListenerNode next
protected ListenerList.EventListenerNode prev
public EventListenerNode(T handler, int priority)
public T getListener()
ListenerHandlegetListener in interface ListenerHandle<T>public void close()
ListenerHandleclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface ListenerHandle<T>