public static class BasicEditorKit.EmacsYankAction extends EmacsWriteAction
EmacsYankAction
implementation of the action for
yanking or popping the text from the kill-ring.EmacsAction.Tracker
Constructor and Description |
---|
BasicEditorKit.EmacsYankAction(java.lang.String actionName,
boolean yank)
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.EmacsYankAction(java.lang.String actionName, boolean yank)
public 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