public static class BasicEditorKit.DeleteNextWordAction extends BasicWriteAction
DeleteUntilNextWordAction implementation of the
 action for deleting from cursor position until the next occurrence
 of a word start or word end.| 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.DeleteNextWordAction(java.lang.String actionName,
                                   int wordBehavior)
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, lock, unlockbeep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndentaugmentList, getFocusedComponent, getTextComponentpublic static final int TO_START
public static final int TO_END
public static final int TO_BOTH
public BasicEditorKit.DeleteNextWordAction(java.lang.String actionName,
                                   int wordBehavior)
public void actionPerformed(java.awt.event.ActionEvent event,
                   BasicEditorPane editor,
                   BasicDocument document)
actionPerformed in class BasicActionevent - the action eventeditor - the editor his action was invoked indocument - the document associated with the editor