|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.csail.sdg.alloy4.Listeners
public final class Listeners
This stores a list of listeners.
Constructor Summary | |
---|---|
Listeners()
Construct a empty list of listeners. |
Method Summary | |
---|---|
void |
add(Listener listener)
Add a listener to this group of listeners (if not already in the list) |
void |
fire(java.lang.Object sender,
Listener.Event event)
Send the following zero-argument event to every listener. |
void |
fire(java.lang.Object sender,
Listener.Event event,
java.lang.Object arg)
Send the following one-argument event to every listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Listeners()
Method Detail |
---|
public void add(Listener listener)
public void fire(java.lang.Object sender, Listener.Event event)
public void fire(java.lang.Object sender, Listener.Event event, java.lang.Object arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |