public class JTextComponentRecorder extends JComponentRecorder
| Modifier and Type | Field and Description |
|---|---|
static int |
SE_SELECTION |
SE_ACTION_MAPevents| Constructor and Description |
|---|
JTextComponentRecorder(Resolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
protected Step |
createClick(java.awt.Component comp,
int x,
int y,
int mods,
int count)
The text component click should click on the text index instead of a
mouse coordinate.
|
protected Step |
createDrop(java.awt.Component comp,
int start,
int end) |
protected Step |
createStep()
Add handling for JComponent input-mapped actions.
|
protected boolean |
dragStarted(java.awt.Component target,
int x,
int y,
int modifiers,
java.awt.event.MouseEvent dragEvent)
Coalesce initial click with subsequent drags to produce a
selection.
|
protected void |
init(int rtype) |
protected boolean |
isMappedEvent(java.awt.event.KeyEvent ev)
Don't store the action "default-typed"; store the key event instead.
|
protected boolean |
parseDrop(java.awt.AWTEvent event) |
accept, createActionMap, getAction, parse, parseActionMapEventcanDrag, canMultipleClick, createAWTMenuSelection, createDrag, createInputMethod, createKey, createMenuSelection, createPopupMenuSelection, createWindowEvent, getLocation, getLocationArgument, isClick, isClose, isDragDrop, isKeyTyped, isMenuEvent, isOpen, isToolTip, isWindowEvent, parseClick, parseInputMethod, parseKeyEvent, parseMenuSelection, parseWindowEvent, setFinishedaddActionListener, getRecordingType, getResolver, getStep, isFinished, record, setRecordingType, setStatus, setSteppublic static final int SE_SELECTION
public JTextComponentRecorder(Resolver resolver)
protected void init(int rtype)
init in class JComponentRecorderprotected boolean isMappedEvent(java.awt.event.KeyEvent ev)
isMappedEvent in class JComponentRecorderprotected boolean dragStarted(java.awt.Component target,
int x,
int y,
int modifiers,
java.awt.event.MouseEvent dragEvent)
dragStarted in class ComponentRecorderprotected boolean parseDrop(java.awt.AWTEvent event)
parseDrop in class ComponentRecorderprotected Step createStep()
JComponentRecordercreateStep in class JComponentRecorderprotected Step createClick(java.awt.Component comp, int x, int y, int mods, int count)
createClick in class ComponentRecorderprotected Step createDrop(java.awt.Component comp, int start, int end)
createDrop in class ComponentRecorder
Abbot is hosted on