public static class BasicEditorKit.BlockIndentOutdentAction extends BasicWriteAction
BlockIndentOutdentAction implementation of the action for performing a block indent or block outdent.| Constructor and Description | 
|---|
BasicEditorKit.BlockIndentOutdentAction(java.lang.String actionName, boolean doIndent)
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. 
 | 
protected boolean | 
shouldPerformBlockOperation(BasicEditorPane editor)
Utility routine to check whether we should perform a block indent or outdent - this is called from InsertTabAction and ReverseTabAction to check if there is a selection and if the global property for performing block indents/outdents is on. 
 | 
actionPerformed, lock, unlockbeep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndentaugmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.BlockIndentOutdentAction(java.lang.String actionName,
                                       boolean doIndent)
protected boolean shouldPerformBlockOperation(BasicEditorPane editor)
editor - the editor we are in
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