public static class BasicEditorKit.SetLocalTabSizeAction extends BasicAction
SetLocalTabSizeAction implementation of the
action to set the tab size of the current editor locally to the
specified amount.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
SetLocalTabSizeAction(java.lang.String actionName,
int size)
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, actionPerformedOnSelection, actionPerformMulti, actionPerformMultiForSelections, actionSetup, actionTakedown, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, lock, setMagicCaretPosition, setMagicCaretPosition, showMessage, skipLeadingIndent, unlockaugmentList, getFocusedComponent, getTextComponentpublic SetLocalTabSizeAction(java.lang.String actionName,
int size)
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