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.| Constructor and Description |
|---|
BasicEditorKit.InsertTabAction()
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.
|
shouldPerformBlockOperationactionPerformed, lock, unlockbeep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndentaugmentList, getFocusedComponent, getTextComponentpublic BasicEditorKit.InsertTabAction()
public void actionPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
actionPerformed in class BasicEditorKit.BlockIndentOutdentActionevent - the action eventeditor - the editor his action was invoked indocument - the document associated with the editor