Package diva.util.jester
Class EventPlayer
- java.lang.Object
-
- diva.util.jester.EventPlayer
-
public class EventPlayer extends java.lang.Object
EventPlayer uses the java.awt.robot API to inject streams of events into a component. An event player is instantiated on a given component and then passes events to that component every time itsplay()
method is called.- Version:
- $Id$
- Author:
- Michael Shilman
- See Also:
EventRecorder
- Pt.AcceptedRating:
- Red
-
-
Constructor Summary
Constructors Constructor Description EventPlayer(java.awt.Component component)
Play events into the given component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
play(java.awt.event.InputEvent[] events)
Play the given sequence of events into the component.
-