public static class RSyntaxTextAreaEditorKit.InsertBreakAction extends RTextAreaEditorKit.InsertBreakAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
InsertBreakAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformedImpl(ActionEvent e,
RTextArea textArea)
The actual meat of the action.
|
protected void |
handleInsertBreak(RSyntaxTextArea textArea,
boolean noSelection)
Actually inserts the newline into the document, and auto-indents
if appropriate.
|
getMacroID, isEnabled
actionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescription
augmentList, getFocusedComponent, getTextComponent
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
public void actionPerformedImpl(ActionEvent e, RTextArea textArea)
RecordableTextAction
actionPerformedImpl
in class RTextAreaEditorKit.InsertBreakAction
e
- The action being performed.textArea
- The text area "receiving" the action.RecordableTextAction.actionPerformed(java.awt.event.ActionEvent)
protected void handleInsertBreak(RSyntaxTextArea textArea, boolean noSelection)
textArea
- noSelection
- Whether there is no selection.Copyright © 2003–2015. All rights reserved.