/** Simulates a keydown event. */ public static void keyDown(Widget target, int keyCode) { dispatchEvent(target, EventBuilder.create(Event.ONKEYDOWN).setKeyCode(keyCode).build()); }
/** Simulates a dblclick event. */ public static void dblClick(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONDBLCLICK).build()); }
/** Simulates a focus event. */ public static void focus(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONFOCUS).build()); }
/** Simulates a onblur event. */ public static void blur(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONBLUR).build()); }
/** Simulates a onchange event. */ public static void change(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONCHANGE).build()); }
/** Simulates a mouseout event. */ public static void mouseOut(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONMOUSEOUT).build()); }
/** Simulates a mousewheel event. */ public static void mouseWheel(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONMOUSEWHEEL).build()); }
/** Simulates a mousedown event. */ public static void mouseDown(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONMOUSEDOWN).build()); }
/** Simulates a mousemove event. */ public static void mouseMove(Widget target) { dispatchEvent(target, EventBuilder.create(Event.ONMOUSEMOVE).build()); }
/** Simulates a keypress event. */ public static void keyPress(Widget target, int keyCode) { dispatchEvent(target, EventBuilder.create(Event.ONKEYPRESS).setKeyCode(keyCode).build()); }