public class EventRecorder
extends java.lang.Object
EventPlayer
Red |
Constructor and Description |
---|
EventRecorder(java.awt.Component component)
Record events from the given component.
|
Modifier and Type | Method and 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.
|