public static class BasicEditorKit.SelectWordAction extends BasicAction
SelectWordAction
implementation of the action
for selecting a word around the caret.Constructor and Description |
---|
BasicEditorKit.SelectWordAction()
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
The operation to perform when this action is triggered.
|
actionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, lock, setMagicCaretPosition, showMessage, skipLeadingIndent, unlock
augmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.SelectWordAction()
public void actionPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
actionPerformed
in class BasicAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor