public static class BasicEditorKit.EndWordAction extends BasicEditorKit.NavigateAction
EndWordAction
implementation of the action for
moving the caret to the end of a word, possibly extending the
selection.Constructor and Description |
---|
BasicEditorKit.EndWordAction(java.lang.String actionName,
boolean performSelect)
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
navigatePerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
The navigation to perform when this action is triggered.
|
actionPerformed, doSelect
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.EndWordAction(java.lang.String actionName, boolean performSelect)
actionName
- the name of the navigation actionperformSelect
- true to perform selection while navigatingprotected void navigatePerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
navigatePerformed
in class BasicEditorKit.NavigateAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor