abbot.editor.recorder
Class WindowRecorder
java.lang.Object
abbot.editor.recorder.SemanticRecorder
abbot.editor.recorder.ComponentRecorder
abbot.editor.recorder.ContainerRecorder
abbot.editor.recorder.WindowRecorder
- All Implemented Interfaces:
- SemanticEvents
- Direct Known Subclasses:
- DialogRecorder, FrameRecorder
public class WindowRecorder
- extends ContainerRecorder
Record basic semantic events you might find on an Window.
Methods inherited from class abbot.editor.recorder.ComponentRecorder |
accept, canDrag, canMultipleClick, createAWTMenuSelection, createClick, createDrag, createDrop, createInputMethod, createKey, createMenuSelection, createPopupMenuSelection, createWindowEvent, dragStarted, getLocation, getLocationArgument, isClick, isClose, isDragDrop, isKeyTyped, isMenuEvent, isOpen, isToolTip, parse, parseClick, parseDrop, parseInputMethod, parseKeyEvent, parseMenuSelection, setFinished |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowRecorder
public WindowRecorder(Resolver resolver)
init
protected void init(int recordingType)
- Overrides:
init
in class ComponentRecorder
isWindowEvent
protected boolean isWindowEvent(AWTEvent event)
- Description copied from class:
ComponentRecorder
- Test whether the given event is a trigger for a window event.
Allow derived classes to change definition of a click.
- Overrides:
isWindowEvent
in class ComponentRecorder
parseWindowEvent
protected boolean parseWindowEvent(AWTEvent event)
- Overrides:
parseWindowEvent
in class ComponentRecorder
createStep
protected Step createStep()
- Description copied from class:
ComponentRecorder
- Returns the script step generated from the events recorded so far.
- Overrides:
createStep
in class ComponentRecorder
createClose
protected Step createClose(Window window)
createMove
protected Step createMove(Window window,
Point where)
createResize
protected Step createResize(Window window,
Dimension size)
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on