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.TrackerBasicAction.MultiSelectionBehaviormultiSelectionBehavior| Constructor and Description |
|---|
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.
|
actionPerformedlock, unlockaddKillRing, appendKillRing, getClipboardText, getMark, getSystemClipboard, popKillRing, prependKillRing, removeMark, setClipboardText, setMark, setSystemClipboard, showEndBufferMessage, showMarkNotSetMessage, showMarkSetMessage, showNextKillAppendMessage, showPreviousNotYankMessage, showReadOnlyMessage, yankKillRingactionPerformed, actionPerformedOnSelection, actionPerformMulti, actionPerformMultiForSelections, actionSetup, actionTakedown, beep, buildIndent, getFontHeight, getIndentSizeProperty, getLastAction, getMagicCaretPosition, getMagicCaretPosition, getName, getSmartIndentProvider, getSpaces, getTab, getTabs, getTabSizeProperty, getUseAutoIndentProperty, getUseTabsProperty, getVisibleRect, isEditable, setMagicCaretPosition, setMagicCaretPosition, showMessage, skipLeadingIndentaugmentList, getFocusedComponent, getTextComponentpublic EmacsKillLineAction()
protected boolean killPerformed(java.awt.event.ActionEvent event,
BasicEditorPane editor,
BasicDocument document,
boolean lastActionWasKill)
killPerformed in class BasicEditorKit.EmacsKillTypeActionevent - the action eventeditor - the editor his action was invoked indocument - the document associated with the editorlastActionWasKill - whether the previous action was a kill