|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabbot.editor.recorder.Recorder
abbot.editor.recorder.EventRecorder
Provides recording of raw AWT events and high-level semantic events. This is the main controller for any SemanticRecorder objects.
Field Summary | |
static long |
RECORDING_EVENT_MASK
Events of interest when recording all actions. |
(package private) ArrayList |
steps
|
Fields inherited from interface abbot.editor.recorder.SemanticEvents |
SE_ANY, SE_CLICK, SE_DRAG, SE_DROP, SE_IM, SE_KEY, SE_MENU, SE_NONE, SE_TEXT, SE_WINDOW |
Constructor Summary | |
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. |
protected void |
eventDispatched(AWTEvent event)
Handle an event. |
long |
getEventMask()
Return the events of interest to this Recorder. |
void |
insertStep(Step step)
Insert an arbitrary script step into the currently recorded stream. |
void |
start()
Start recording a new event stream. |
void |
terminate()
Indicate the end of the current event input stream. |
String |
toString()
Return the name of the type of GUI action to be recorded. |
Methods inherited from class abbot.editor.recorder.Recorder |
addActionListener, getLastEventTime, getListener, getResolver, getStep, recordEvent, setStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
ArrayList steps
public static final long RECORDING_EVENT_MASK
Constructor Detail |
public EventRecorder(Resolver resolver, boolean captureMotion)
Method Detail |
public String toString()
public void start()
Recorder
start
in class Recorder
public void insertStep(Step step)
insertStep
in class Recorder
protected Step createStep()
createStep
in class Recorder
public void terminate() throws RecordingFailedException
Recorder
terminate
in class Recorder
RecordingFailedException
protected void eventDispatched(AWTEvent event) throws RecordingFailedException
eventDispatched
in class Recorder
RecordingFailedException
- if an error was encountered and
recording should discontinue.public long getEventMask()
getEventMask
in class Recorder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |