abbot.editor.recorder
Class AbstractButtonRecorder
java.lang.Object
abbot.editor.recorder.SemanticRecorder
abbot.editor.recorder.ComponentRecorder
abbot.editor.recorder.ContainerRecorder
abbot.editor.recorder.JComponentRecorder
abbot.editor.recorder.AbstractButtonRecorder
- All Implemented Interfaces:
- SemanticEvents
- Direct Known Subclasses:
- JMenuItemRecorder
public class AbstractButtonRecorder
- extends JComponentRecorder
Record basic semantic events you might find on an AbstractButton. This
class handles a click on the button.
Method Summary |
protected boolean |
canDrag()
Usually don't bother tracking drags/drops on buttons. |
protected boolean |
canMultipleClick()
Usually aren't interested in multiple clicks on a button. |
protected Step |
createClick(Component target,
int x,
int y,
int mods,
int count)
Create a button-specific click action. |
Methods inherited from class abbot.editor.recorder.ComponentRecorder |
createAWTMenuSelection, createDrag, createDrop, createInputMethod, createKey, createMenuSelection, createPopupMenuSelection, createWindowEvent, dragStarted, getLocation, getLocationArgument, isClick, isClose, isDragDrop, isKeyTyped, isMenuEvent, isOpen, isToolTip, isWindowEvent, parseClick, parseDrop, parseInputMethod, parseKeyEvent, parseMenuSelection, parseWindowEvent, setFinished |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractButtonRecorder
public AbstractButtonRecorder(Resolver resolver)
canDrag
protected boolean canDrag()
- Usually don't bother tracking drags/drops on buttons.
- Overrides:
canDrag
in class ComponentRecorder
canMultipleClick
protected boolean canMultipleClick()
- Usually aren't interested in multiple clicks on a button.
- Overrides:
canMultipleClick
in class ComponentRecorder
createClick
protected Step createClick(Component target,
int x,
int y,
int mods,
int count)
- Create a button-specific click action.
- Overrides:
createClick
in class ComponentRecorder
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on