abbot.editor.recorder
Class FrameRecorder

java.lang.Object
  extended by abbot.editor.recorder.SemanticRecorder
      extended by abbot.editor.recorder.ComponentRecorder
          extended by abbot.editor.recorder.ContainerRecorder
              extended by abbot.editor.recorder.WindowRecorder
                  extended by abbot.editor.recorder.FrameRecorder
All Implemented Interfaces:
SemanticEvents

public class FrameRecorder
extends WindowRecorder

Record basic semantic events you might find on an Window.


Field Summary
 
Fields inherited from class abbot.editor.recorder.SemanticRecorder
events
 
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
FrameRecorder(Resolver resolver)
           
 
Method Summary
protected  Step createFrameStateChange(Frame frame, int newState)
           
protected  Step createResize(Window window, Dimension size)
           
protected  Step createStep()
          Returns the script step generated from the events recorded so far.
protected  int getExtendedState(Frame frame)
           
protected  void init(int recordingType)
           
protected  boolean isWindowEvent(AWTEvent event)
          Additionally handle state change events (1.4 and later).
protected  boolean parseWindowEvent(AWTEvent event)
           
 
Methods inherited from class abbot.editor.recorder.WindowRecorder
createClose, createMove
 
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 abbot.editor.recorder.SemanticRecorder
addActionListener, getRecordingType, getResolver, getStep, isFinished, record, setRecordingType, setStatus, setStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameRecorder

public FrameRecorder(Resolver resolver)
Method Detail

init

protected void init(int recordingType)
Overrides:
init in class WindowRecorder

isWindowEvent

protected boolean isWindowEvent(AWTEvent event)
Additionally handle state change events (1.4 and later).

Overrides:
isWindowEvent in class WindowRecorder

parseWindowEvent

protected boolean parseWindowEvent(AWTEvent event)
Overrides:
parseWindowEvent in class WindowRecorder

createStep

protected Step createStep()
Description copied from class: ComponentRecorder
Returns the script step generated from the events recorded so far.

Overrides:
createStep in class WindowRecorder

createFrameStateChange

protected Step createFrameStateChange(Frame frame,
                                      int newState)

createResize

protected Step createResize(Window window,
                            Dimension size)
Overrides:
createResize in class WindowRecorder

getExtendedState

protected int getExtendedState(Frame frame)


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge