Package diva.util.jester
Class EventRecorder
- java.lang.Object
-
- diva.util.jester.EventRecorder
-
public class EventRecorder extends java.lang.Object
EventRecorder listens to all of the mouse and keyboard events on a given component and records these into a sequence which can then be played back using an EventPlayer object.- Version:
- $Id$
- Author:
- Michael Shilman
- See Also:
EventPlayer
- Pt.AcceptedRating:
- Red
-
-
Constructor Summary
Constructors Constructor Description EventRecorder(java.awt.Component component)
Record events from the given component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
record()
Start recording events on the constructor-specified component.java.awt.event.InputEvent[]
stop()
Stop recording events on the constructor-specified component and return the recorded events from this session as an array.
-