public static class BasicEditorKit.ForwardAction extends BasicEditorKit.NavigateAction
ForwardAction
implementation of the action for
moving the caret logically forward one position, possibly
extending the selection.Constructor and Description |
---|
BasicEditorKit.ForwardAction(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.ForwardAction(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