public static class BasicEditorKit.InsertTabAction extends BasicEditorKit.BlockIndentOutdentAction
InsertTabAction implementation of the action to
 place a tab character into the document.  If there is a
 selection, it is removed before the tab is added.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description | 
|---|
InsertTabAction()
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). 
 | 
void | 
actionPerformMulti(java.awt.event.ActionEvent event,
                  BasicEditorPane editor,
                  BasicDocument document)
Custom version. 
 | 
shouldPerformBlockOperationactionPerformed, actionSetup, lock, unlockactionPerformed, actionPerformMultiForSelections, actionTakedown, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, setMagicCaretPosition, showMessage, skipLeadingIndentaugmentList, getFocusedComponent, getTextComponentpublic InsertTabAction()
public void actionPerformMulti(java.awt.event.ActionEvent event,
                               BasicEditorPane editor,
                               BasicDocument document)
BasicEditorKit.BlockIndentOutdentActionactionPerformMulti in class BasicEditorKit.BlockIndentOutdentActionpublic 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.