public static class BasicEditorKit.DownAction extends BasicEditorKit.NavigateAction
DownAction implementation of the action for
moving the caret logically down one position, possibly
extending the selection.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
DownAction(java.lang.String actionName,
boolean performSelect)
Constructs this object with the appropriate action name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformedOnSelection(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document,
oracle.javatools.editor.MultiSelectionSupport.MultiSelection selection,
boolean isPrimarySelection)
If the selection is marked as a multiselection, then this method will be called
once for each multi selection, including once for the main editor selection (flag isPrimarySelection
will be true in this case).
|
actionPerformed, actionPerformMulti, doSelect, navigatePerformedactionPerformed, actionPerformMultiForSelections, actionSetup, actionTakedown, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, lock, setMagicCaretPosition, setMagicCaretPosition, showMessage, skipLeadingIndent, unlockaugmentList, getFocusedComponent, getTextComponentpublic DownAction(java.lang.String actionName,
boolean performSelect)
actionName - the name of the navigation actionperformSelect - true to perform selection while navigatingpublic void actionPerformedOnSelection(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document,
oracle.javatools.editor.MultiSelectionSupport.MultiSelection selection,
boolean isPrimarySelection)
BasicActionactionPerformedOnSelection in class BasicActionisPrimarySelection - true if the call is for the main selection, false for multiSelection.