public static class RSyntaxTextAreaEditorKit.InsertBreakAction extends RTextAreaEditorKit.InsertBreakAction
changeSupport, enabledACCELERATOR_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 |
|---|
RSyntaxTextAreaEditorKit.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, isEnabledactionPerformed, getAccelerator, getDescription, getIcon, getMnemonic, getName, isRecordable, setAccelerator, setMnemonic, setMnemonic, setName, setProperties, setRecordable, setShortDescriptionaugmentList, getFocusedComponent, getTextComponentaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledpublic RSyntaxTextAreaEditorKit.InsertBreakAction()
public void actionPerformedImpl(ActionEvent e, RTextArea textArea)
RecordableTextActionactionPerformedImpl in class RTextAreaEditorKit.InsertBreakActione - 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.