abbot.editor.recorder
Class JMenuItemRecorder

java.lang.Object
  |
  +--abbot.editor.recorder.SemanticRecorder
        |
        +--abbot.editor.recorder.ComponentRecorder
              |
              +--abbot.editor.recorder.ContainerRecorder
                    |
                    +--abbot.editor.recorder.JComponentRecorder
                          |
                          +--abbot.editor.recorder.AbstractButtonRecorder
                                |
                                +--abbot.editor.recorder.JMenuItemRecorder
All Implemented Interfaces:
SemanticEvents

public class JMenuItemRecorder
extends AbstractButtonRecorder

Override AbstractButton behavior, since we expect to grab a menu selection instead of a click.


Fields inherited from class abbot.editor.recorder.JComponentRecorder
SE_ACTION_MAP
 
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
JMenuItemRecorder(Resolver resolver)
           
 
Method Summary
protected  boolean isMenuEvent(AWTEvent event)
          Regular clicks get treated as a menu event.
 
Methods inherited from class abbot.editor.recorder.AbstractButtonRecorder
canDrag, canMultipleClick, createClick
 
Methods inherited from class abbot.editor.recorder.JComponentRecorder
accept, createActionMap, createStep, getAction, init, isMappedEvent, parse, parseActionMapEvent
 
Methods inherited from class abbot.editor.recorder.ComponentRecorder
, createAWTMenuSelection, createDrag, createDrop, createInputMethod, createKey, createMenuSelection, createPopupMenuSelection, createWindowEvent, dragStarted, isClick, isClose, isDragDrop, isKeyTyped, isOpen, isToolTip, isWindowEvent, parseClick, parseDrop, parseInputMethod, parseKeyEvent, parseMenuSelection, parseWindowEvent
 
Methods inherited from class abbot.editor.recorder.SemanticRecorder
addActionListener, getFinder, getRecordingType, getResolver, getStep, isFinished, record, setFinished, setRecordingType, setStatus, setStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMenuItemRecorder

public JMenuItemRecorder(Resolver resolver)
Method Detail

isMenuEvent

protected boolean isMenuEvent(AWTEvent event)
Regular clicks get treated as a menu event.
Overrides:
isMenuEvent in class ComponentRecorder


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

SourceForge