|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.frinika.sequencer.gui.ListenerSupport<L,E>
public abstract class ListenerSupport<L,E>
Helps handling listeners.
| Constructor Summary | |
|---|---|
ListenerSupport()
Creates a new instance |
|
| Method Summary | |
|---|---|
void |
addListener(L listener)
|
java.util.Collection<L> |
getListeners()
|
abstract void |
notify(L l,
E e)
Fire event to a single listener. |
void |
notifyListeners(E e)
Fire event to all. |
void |
removeListener(L listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenerSupport()
| Method Detail |
|---|
public void addListener(L listener)
public void removeListener(L listener)
public java.util.Collection<L> getListeners()
public void notifyListeners(E e)
public abstract void notify(L l,
E e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||