| java.lang.Object abbot.editor.recorder.Recorder abbot.editor.recorder.EventRecorder
EventRecorder | public class EventRecorder extends Recorder implements SemanticEvents(Code) | | Provides recording of raw AWT events and high-level semantic events.
This is the main controller for any SemanticRecorder objects.
|
Constructor Summary | |
public | EventRecorder(Resolver resolver, boolean captureMotion) Create a Recorder for use in capturing raw AWTEvents. |
Method Summary | |
protected Step | createStep() Return a sequence containing all the semantic and basic events captured
thus far. | public long | getEventMask() Return the events of interest to this Recorder. | public void | insertStep(Step step) Insert an arbitrary script step into the currently recorded stream. | protected void | recordEvent(AWTEvent event) Handle an event. | public void | start() | public void | terminate() | public String | toString() Return the name of the type of GUI action to be recorded. |
RECORDING_EVENT_MASK | final public static long RECORDING_EVENT_MASK(Code) | | Events of interest when recording all actions.
|
EventRecorder | public EventRecorder(Resolver resolver, boolean captureMotion)(Code) | | Create a Recorder for use in capturing raw AWTEvents. Indicate
whether mouse motion should be captured, and what semantic event type
to capture.
|
createStep | protected Step createStep()(Code) | | Return a sequence containing all the semantic and basic events captured
thus far.
|
getEventMask | public long getEventMask()(Code) | | Return the events of interest to this Recorder.
|
insertStep | public void insertStep(Step step)(Code) | | Insert an arbitrary script step into the currently recorded stream.
|
recordEvent | protected void recordEvent(AWTEvent event) throws RecordingFailedException(Code) | | Handle an event. This can either be ignored or contribute to the
recording.
For a given event, if no current semantic recorder is active,
select one based on the event's component. If the semantic recorder
accepts the event, then it is used to consume each subsequent event,
until its recordEvent method returns true, indicating that the semantic
event has completed.
|
start | public void start()(Code) | | |
toString | public String toString()(Code) | | Return the name of the type of GUI action to be recorded.
|
|
|