public static class BasicEditorKit.TabifyAction extends BasicWriteAction
TabifyAction implementation of the
action for converting leading spaces of a line to tabs if
possible, preserving the ending column of the first
non-whitespace of the line.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
TabifyAction()
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, actionSetup, lock, unlockactionPerformedOnSelection, actionPerformMulti, 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 TabifyAction()
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