public static class BasicEditorKit.NextWordAction extends BasicEditorKit.NavigateAction
NextWordAction implementation of the action for
 moving the caret to the next occurrence of a word start or end,
 possibly extending the selection.| Modifier and Type | Field and Description | 
|---|---|
static int | 
TO_BOTH
Constant to delete to start or end of a word, whichever occurs first. 
 | 
static int | 
TO_END
Constant to delete to end of a word. 
 | 
static int | 
TO_START
Constant to delete to start of a word. 
 | 
| Constructor and Description | 
|---|
BasicEditorKit.NextWordAction(java.lang.String actionName,
                             int wordBehavior,
                             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, doSelectactionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, lock, setMagicCaretPosition, showMessage, skipLeadingIndent, unlockaugmentList, getFocusedComponent, getTextComponentpublic static final int TO_START
public static final int TO_END
public static final int TO_BOTH
public BasicEditorKit.NextWordAction(java.lang.String actionName,
                             int wordBehavior,
                             boolean performSelect)
actionName - the name of the navigation actionwordBehavior - move the caret to the next word start or endperformSelect - true to perform selection while navigatingprotected void navigatePerformed(java.awt.event.ActionEvent event,
                     BasicEditorPane editor,
                     BasicDocument document)
navigatePerformed in class BasicEditorKit.NavigateActionevent - the action eventeditor - the editor his action was invoked indocument - the document associated with the editor