|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.gwtutils.client.DelegatingReadyListenerCollection
public class DelegatingReadyListenerCollection
A ready listener, which simply reports what it sees to a list of other ready listener.
| Constructor Summary | |
|---|---|
DelegatingReadyListenerCollection()
Creates a new DelegatingReadyListenerCollection. |
|
DelegatingReadyListenerCollection(ReadyListener readyListener)
Creates a new DelegatingReadyListenerCollection with the
specified ready listener as the first of many to report to. |
|
| Method Summary | |
|---|---|
void |
add(ReadyListener readyListener)
Adds the specified ready listener to get notified when one of the sources we are registered with changes its ready state. |
void |
becameReady(Object source)
Notifies our ready listeners of the change. |
void |
becameUnready(Object source)
Notifies our ready listeners of the change. |
void |
remove(ReadyListener readyListener)
Removes the specified ready listener from getting notified when one of the sources with are registered with changes its ready state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingReadyListenerCollection()
DelegatingReadyListenerCollection.
public DelegatingReadyListenerCollection(ReadyListener readyListener)
DelegatingReadyListenerCollection with the
specified ready listener as the first of many to report to. This
constructor is useful if you just have one listener to delegate to.
| Method Detail |
|---|
public void add(ReadyListener readyListener)
public void remove(ReadyListener readyListener)
public void becameReady(Object source)
becameReady in interface ReadyListenerpublic void becameUnready(Object source)
becameUnready in interface ReadyListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||