|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.gwtutils.client.GroupReadyListener
public class GroupReadyListener
Implements notifying a ReadyListener when a collection of items change between ready and unready states, as a group. A group of items are ready iff all of them are ready.
| Constructor Summary | |
|---|---|
GroupReadyListener(ReadyListener readyListener,
Object source)
Creates a new GroupReadyListener with the specified
ready listener to report to, and the specified object to report as the
source of ready events. |
|
| Method Summary | |
|---|---|
void |
becameReady(Object source)
Invoked when an item becomes ready. |
void |
becameUnready(Object source)
Invoked when the item becomes unready. |
void |
quietlyMarkReady(Object item)
Marks the specified item as ready, without notifiying the listener. |
void |
quietlyMarkUnready(Object item)
Marks the specified item as unready, without notifying the listener. |
void |
reset()
Marks all items as ready, without notifying the listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupReadyListener(ReadyListener readyListener,
Object source)
GroupReadyListener with the specified
ready listener to report to, and the specified object to report as the
source of ready events. All items are considered initially ready.
source - The object to report as the source of ready events. If you
pass null, the newly created GroupReadyListener
itself will be used.readyListener - The listener to report ready events to.| Method Detail |
|---|
public void becameReady(Object source)
becameReady in interface ReadyListenerpublic void becameUnready(Object source)
becameUnready in interface ReadyListenerpublic void quietlyMarkReady(Object item)
public void reset()
public void quietlyMarkUnready(Object item)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||