Method Summary |
|
abstract public boolean | accept(AWTEvent event) Returns whether this SemanticRecorder wishes to accept the given event
and subsequent events. |
public void | addActionListener(ActionListener al) Supports at most one listener. |
abstract protected Step | createStep() Create a step based on the events received thus far. |
public int | getRecordingType() |
protected Resolver | getResolver() Return the Resolver to be used by this recorder. |
public synchronized Step | getStep() Returns the script step generated from the events recorded so far. |
protected void | init(int recordingType) |
public synchronized boolean | isFinished() Return whether this recorder has finished recording the current
semantic event. |
abstract public boolean | parse(AWTEvent event) Handle an event. |
final public boolean | record(java.awt.AWTEvent event) Handle an event. |
protected synchronized void | setFinished(boolean state) Invoke when end of the semantic event has been seen. |
protected void | setRecordingType(int type) |
protected void | setStatus(String msg) Indicate the current recording state, so that the status may be
displayed elsewhere. |
protected synchronized void | setStep(Step newStep) Add the given step. |