edu.rice.cs.drjava.model.definitions
Class DefinitionsEditorKit.PreviousWordAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
edu.rice.cs.drjava.model.definitions.DefinitionsEditorKit.PreviousWordAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- DefinitionsEditorKit
static class DefinitionsEditorKit.PreviousWordAction
- extends TextAction
Moves the cursor to the beginning of the previous word. If the cursor is currently inside of a word, moves it to
the beginning of that word. Otherwise, moves the cursor to the beginning of the previous word.
Also stops at delimiting characters and at the end of a line
|
Field Summary |
private boolean |
_select
|
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
_select
private boolean _select
DefinitionsEditorKit.PreviousWordAction
DefinitionsEditorKit.PreviousWordAction(String nm,
boolean b)
actionPerformed
public void actionPerformed(ActionEvent e)