public class DelayedEventGun extends CoalescingSchedulerS implements Scheduler.ScheduledCommand
CoalescingSchedulerS.Phaser
CoalescingScheduler.Tester
DEFERRED, ENTRY, FINALLY
baseScheduler, isScheduled
Constructor and Description |
---|
DelayedEventGun(HasHandlers _source,
CoalescingSchedulerS.Phaser _phaser)
Constructs a new DelayedEventGun.
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
flush()
Immediately dispatches all scheduled events.
|
void |
schedule(GwtEvent<?> e)
Adds the specified event to the dispatch list and ensures that the dispatcher is
scheduled to execute.
|
HasHandlers |
source()
The source from which the events are to be fired.
|
command, init, phaser, schedule
baseScheduler
public DelayedEventGun(HasHandlers _source, CoalescingSchedulerS.Phaser _phaser)
source()
,
CoalescingSchedulerS.phaser()
public final void flush()
public void schedule(GwtEvent<?> e)
CoalescingSchedulerS.schedule()
public final HasHandlers source()
public final void execute()
execute
in interface Scheduler.ScheduledCommand