public static final class BasicEditorKit.EmacsCaseRegionAction extends EmacsWriteAction
EmacsCaseRegionAction
is the action for converting
the region to all lowercase or uppercase.EmacsAction.Tracker
Constructor and Description |
---|
BasicEditorKit.EmacsCaseRegionAction(java.lang.String actionName,
boolean doUpcase)
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.
|
lock, unlock
addKillRing, appendKillRing, getClipboardText, getMark, getSystemClipboard, popKillRing, prependKillRing, removeMark, setClipboardText, setMark, setSystemClipboard, showEndBufferMessage, showMarkNotSetMessage, showMarkSetMessage, showNextKillAppendMessage, showPreviousNotYankMessage, showReadOnlyMessage, yankKillRing
actionPerformed, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, showMessage, skipLeadingIndent
augmentList, getFocusedComponent, getTextComponent
public BasicEditorKit.EmacsCaseRegionAction(java.lang.String actionName, boolean doUpcase)
public final void actionPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document)
actionPerformed
in class EmacsAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editor