public class RSyntaxTextAreaEditorKit extends RTextAreaEditorKit
RTextAreaEditorKit that adds functionality for
programming-specific stuff. There are currently subclasses to handle:
| Modifier and Type | Class and Description |
|---|---|
static class |
RSyntaxTextAreaEditorKit.CloseCurlyBraceAction
Action that (optionally) aligns a closing curly brace with the line
containing its matching opening curly brace.
|
static class |
RSyntaxTextAreaEditorKit.CopyAsRtfAction
Action for copying text as RTF.
|
static class |
RSyntaxTextAreaEditorKit.DecreaseFontSizeAction
Action for decreasing the font size of all fonts in the text area.
|
static class |
RSyntaxTextAreaEditorKit.DecreaseIndentAction
Action for when un-indenting lines (either the current line if there is
selection, or all selected lines if there is one).
|
static class |
RSyntaxTextAreaEditorKit.GoToMatchingBracketAction
Action for moving the caret to the "matching bracket" of the bracket
at the caret position (either before or after).
|
static class |
RSyntaxTextAreaEditorKit.IncreaseFontSizeAction
Action for increasing the font size of all fonts in the text area.
|
static class |
RSyntaxTextAreaEditorKit.InsertBreakAction
Action for when the user presses the Enter key.
|
static class |
RSyntaxTextAreaEditorKit.InsertTabAction
Action for inserting tabs.
|
static class |
RSyntaxTextAreaEditorKit.PossiblyInsertTemplateAction
Action for when the user tries to insert a template (that is,
they've typed a template ID and pressed the trigger character
(a space) in an attempt to do the substitution).
|
static class |
RSyntaxTextAreaEditorKit.ToggleCommentAction
Action that toggles whether the currently selected lines are
commented.
|
RTextAreaEditorKit.BeepAction, RTextAreaEditorKit.BeginAction, RTextAreaEditorKit.BeginLineAction, RTextAreaEditorKit.BeginRecordingMacroAction, RTextAreaEditorKit.BeginWordAction, RTextAreaEditorKit.CopyAction, RTextAreaEditorKit.CutAction, RTextAreaEditorKit.DefaultKeyTypedAction, RTextAreaEditorKit.DeleteLineAction, RTextAreaEditorKit.DeleteNextCharAction, RTextAreaEditorKit.DeletePrevCharAction, RTextAreaEditorKit.DeletePrevWordAction, RTextAreaEditorKit.DeleteRestOfLineAction, RTextAreaEditorKit.EndAction, RTextAreaEditorKit.EndLineAction, RTextAreaEditorKit.EndRecordingMacroAction, RTextAreaEditorKit.EndWordAction, RTextAreaEditorKit.InsertContentAction, RTextAreaEditorKit.InvertSelectionCaseAction, RTextAreaEditorKit.JoinLinesAction, RTextAreaEditorKit.LineMoveAction, RTextAreaEditorKit.LowerSelectionCaseAction, RTextAreaEditorKit.NextBookmarkAction, RTextAreaEditorKit.NextVisualPositionAction, RTextAreaEditorKit.NextWordAction, RTextAreaEditorKit.PasteAction, RTextAreaEditorKit.PlaybackLastMacroAction, RTextAreaEditorKit.PreviousWordAction, RTextAreaEditorKit.RedoAction, RTextAreaEditorKit.ScrollAction, RTextAreaEditorKit.SelectAllAction, RTextAreaEditorKit.SelectLineAction, RTextAreaEditorKit.SelectWordAction, RTextAreaEditorKit.SetReadOnlyAction, RTextAreaEditorKit.SetWritableAction, RTextAreaEditorKit.TimeDateAction, RTextAreaEditorKit.ToggleBookmarkAction, RTextAreaEditorKit.ToggleTextModeAction, RTextAreaEditorKit.UndoAction, RTextAreaEditorKit.UnselectAction, RTextAreaEditorKit.UpperSelectionCaseAction, RTextAreaEditorKit.VerticalPageAction| Modifier and Type | Field and Description |
|---|---|
static String |
rstaCloseCurlyBraceAction |
static String |
rstaCopyAsRtfAction |
static String |
rstaDecreaseIndentAction |
static String |
rstaGoToMatchingBracketAction |
static String |
rstaPossiblyInsertTemplateAction |
static String |
rstaToggleCommentAction |
rtaBeginRecordingMacroAction, rtaDecreaseFontSizeAction, rtaDeleteLineAction, rtaDeletePrevWordAction, rtaDeleteRestOfLineAction, rtaEndRecordingMacroAction, rtaIncreaseFontSizeAction, rtaInvertSelectionCaseAction, rtaJoinLinesAction, rtaLineDownAction, rtaLineUpAction, rtaLowerSelectionCaseAction, rtaNextBookmarkAction, rtaPlaybackLastMacroAction, rtaPrevBookmarkAction, rtaRedoAction, rtaScrollDownAction, rtaScrollUpAction, rtaSelectionPageDownAction, rtaSelectionPageLeftAction, rtaSelectionPageRightAction, rtaSelectionPageUpAction, rtaTimeDateAction, rtaToggleBookmarkAction, rtaToggleTextModeAction, rtaUndoAction, rtaUnselectAction, rtaUpperSelectionCaseActionbackwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction| Constructor and Description |
|---|
RSyntaxTextAreaEditorKit()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
createDefaultDocument()
Returns the default document used by
RSyntaxTextAreas. |
Action[] |
getActions()
Fetches the set of commands that can be used
on a text component that is using a model and
view produced by this kit.
|
readcreateCaret, getContentType, getViewFactory, read, write, writepublic static final String rstaCloseCurlyBraceAction
public static final String rstaCopyAsRtfAction
public static final String rstaDecreaseIndentAction
public static final String rstaGoToMatchingBracketAction
public static final String rstaPossiblyInsertTemplateAction
public static final String rstaToggleCommentAction
public Document createDefaultDocument()
RSyntaxTextAreas.createDefaultDocument in class DefaultEditorKitpublic Action[] getActions()
getActions in class RTextAreaEditorKitCopyright © 2009-2013 jtstand.com. All Rights Reserved.