public static class BasicEditorKit.MacroRecorderAction extends BasicWriteAction
MacroRecorderAction implementation of the
action for both playing back a recorded macro as well as
for toggling macro recording on and off.BasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
MacroRecorderAction(java.lang.String name,
boolean doPlayback)
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 |
actionSetup(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
Override without the make editable call.
|
actionPerformed, 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 MacroRecorderAction(java.lang.String name,
boolean doPlayback)
protected boolean actionSetup(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document)
actionSetup in class BasicWriteActionevent - editor - document - 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