Package abbot.editor.recorder

Provide recording support for component-specific user actions.

See: Description

Package abbot.editor.recorder Description

Provide recording support for component-specific user actions. Recorders capture a raw event stream and turn it into a ComponentTester action method. This group of classes is designed to recognize and capture a distinct semantic event from basic OS events as they are generated by the system or the user. For example, the AbstractButtonRecorder waits for button press, release, and click events in any class derived from AbstractButton in the tested GUI, saving them as a "Click" action (which is provided by the base AbstractButtonTester class).

Each unique class of GUI component can have its own recorder class derived from ComponentRecorder. This class provides a framework for parsing basic input events into a conception action on a given component class. For example, JComboBoxRecorder converts a user's combo selection into a script step encapsulating the JComboBoxTester.actionSelectIndex(Component,int index) method to perform a combo box selection.

Recorders are used within the script editor by EventRecorder, but the that class is designed for use by any framework that wishes to capture and parse events.

Copyright ? 2002-2012 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge