public static class BasicEditorKit.BlockIndentOutdentAction extends BasicWriteAction
BlockIndentOutdentAction implementation of the
action for performing a block indent or block outdent.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
BlockIndentOutdentAction(java.lang.String actionName,
boolean doIndent)
Constructs this object with the appropriate action name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformMulti(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
Custom version.
|
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, actionSetup, lock, unlockactionPerformed, actionPerformedOnSelection, 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 BlockIndentOutdentAction(java.lang.String actionName,
boolean doIndent)
protected boolean shouldPerformBlockOperation(BasicEditorPane editor)
editor - the editor we are inpublic void actionPerformMulti(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
actionPerformMulti in class BasicActionevent - editor - document -