L - the type of listeners in this listpublic class LocatedListenerList<L extends LocatedListener> extends Object
LocatedListeners and order and filter
them regarding to one element of the tree.| Constructor and Description |
|---|
LocatedListenerList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(L listener)
Adds a listener to the list of listeners.
|
List<L> |
affected(DockElement element)
Creates a list of all
LocatedListeners which are affected
by an event which occurs on element. |
void |
removeListener(L listener)
Removes a list of the list of listeners.
|
int |
size()
Gets the number of listeners in this list.
|
public void addListener(L listener)
listener - the new listenerpublic void removeListener(L listener)
listener - the listener to removepublic int size()
public List<L> affected(DockElement element)
LocatedListeners which are affected
by an event which occurs on element. The list is ordered
by the distance of the listeners to element.element - the element which is the source of an eventCopyright © 2017 Docking Frames. All rights reserved.