public static class BasicEditorKit.EmacsKillLineAction extends BasicEditorKit.EmacsKillTypeAction
EmacsKillLineAction
implementation of the action
for killing the line and adding or appending it to the Emacs kill
ring.EmacsAction.Tracker
Constructor and Description |
---|
BasicEditorKit.EmacsKillLineAction()
Constructs this object with the appropriate action name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
killPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document,
boolean lastActionWasKill)
The kill operation to perform when this action is triggered.
|
actionPerformed
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.EmacsKillLineAction()
protected boolean killPerformed(java.awt.event.ActionEvent event, BasicEditorPane editor, BasicDocument document, boolean lastActionWasKill)
killPerformed
in class BasicEditorKit.EmacsKillTypeAction
event
- the action eventeditor
- the editor his action was invoked indocument
- the document associated with the editorlastActionWasKill
- whether the previous action was a kill