public class JComponentRecorder extends ContainerRecorder
Watches for events that trigger an action from the component's action map. As of 1.3.1, KEY_TYPED and KEY_RELEASED events can trigger an action.
Modifier and Type | Field and Description |
---|---|
static int |
SE_ACTION_MAP |
events
Constructor and Description |
---|
JComponentRecorder(Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(AWTEvent event)
Add handling for JComponent input-mapped actions.
|
protected Step |
createActionMap(JComponent target,
String actionKey)
Create a JComponent input-mapped action invocation.
|
protected Step |
createStep()
Add handling for JComponent input-mapped actions.
|
protected Action |
getAction(KeyEvent ke) |
protected void |
init(int rtype) |
protected boolean |
isMappedEvent(KeyEvent ke) |
boolean |
parse(AWTEvent event)
Add handling for JComponent input-mapped actions.
|
protected boolean |
parseActionMapEvent(AWTEvent event)
Add handling for JComponent input-mapped actions.
|
canDrag, canMultipleClick, createAWTMenuSelection, createClick, 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
addActionListener, getRecordingType, getResolver, getStep, isFinished, record, setRecordingType, setStatus, setStep
public static final int SE_ACTION_MAP
public JComponentRecorder(Resolver resolver)
protected void init(int rtype)
init
in class ComponentRecorder
public boolean accept(AWTEvent event)
accept
in class ComponentRecorder
protected boolean isMappedEvent(KeyEvent ke)
public boolean parse(AWTEvent event)
parse
in class ComponentRecorder
protected boolean parseActionMapEvent(AWTEvent event)
protected Step createStep()
createStep
in class ComponentRecorder
protected Step createActionMap(JComponent target, String actionKey)
Abbot is hosted on