Class EventDispatcher

  • All Implemented Interfaces:
    Outputable, Timeoutable

    public class EventDispatcher
    extends Object
    implements Outputable, Timeoutable
    Provides low level functions for reproducing user actions. One dispatch model uses the managed component's event queue to dispatch events. The other dispatch model uses java.awt.Robot to generate native events. It is an option in the Robot dispatch model to wait for the managed component's event queue to empty before dispatching events. Timeouts used:
    EventDispatcher.WaitQueueEmptyTimeout - to wait event queue empty.
    EventDispatcher.RobotAutoDelay - param for java.awt.Robot.setAutoDelay method.
    EventDispatcher.WaitComponentUnderMouseTimeout - time to wait component under mouse.
    Author:
    Alexandre Iline (alexandre.iline@sun.com)
    See Also:
    Timeouts