Package org.fife.ui.rtextarea
A single-font text editor with many custom features.
-
Interface Summary Interface Description BackgroundPainterStrategy Interface for classes that paint the background of anRTextAreaBase
.GutterIconInfo Information about an icon displayed in aGutter
.LineNumberFormatter Formats line numbers into a comprehensible String to be displayed to the user.RTextAreaHighlighter.HighlightInfo Information about a highlight being painted by this highlighter.RTextAreaHighlighter.LayeredHighlightInfo Information about a layered highlight being painted by this highlighter.ToolTipSupplier A ToolTipSupplier can create tool tip text for an RTextArea on its behalf. -
Class Summary Class Description AbstractGutterComponent A component that can be displayed in aGutter
.AbstractGutterComponent.Listener BufferedImageBackgroundPainterStrategy A strategy for painting the background of anRTextAreaBase
as an image.ChangeableHighlightPainter An extension ofLayerPainter
that allows the user to change several of its properties: Its color/fill style (can use aGradientPaint
, for example). Whether the edges of a painted highlight are rounded. Whether painted highlights have translucency.ChevronFoldIcon A fold icon represented by a chevron.ClipboardHistory Listens for cuts and copies from instances ofRTextArea
.ClipboardHistoryPopup A popup window that displays the most recent snippets added to the clipboard of anRSyntaxTextArea
.ClipboardHistoryPopup.ChoiceList The list component used in this popup.ClipboardHistoryPopup.LabelValuePair Entries in the choices list are of this type.ColorBackgroundPainterStrategy A strategy for painting the background of anRTextAreaBase
as a solid color.ConfigurableCaret The caret used byRTextArea
.FoldIndicator Component in the gutter that displays +/- icons to expand and collapse fold regions in the editor.FoldIndicatorIcon A base class for icons in aFoldIndicator
.Gutter The gutter is the component on the left-hand side of the text area that displays optional information such as line numbers, fold regions, and icons (for bookmarks, debugging breakpoints, error markers, etc.).Gutter.GutterBorder The border used by the gutter.IconGroup This class encapsulates the location, properties, etc.IconRowHeader Renders icons in theGutter
.IconRowHeader.GutterIconImpl Implementation of the icons rendered.ImageBackgroundPainterStrategy A strategy for painting the background of anRTextAreaBase
as an image.LineHighlightManager Manages line highlights in anRTextArea
.LineHighlightManager.LineHighlightInfo Information about a line highlight.LineHighlightManager.LineHighlightInfoComparator Comparator used when adding new highlights.LineNumberList Renders line numbers in the gutter.LineNumberList.SimpleLineNumberFormatter Macro A macro as recorded/played back by anRTextArea
.Macro.MacroRecord A "record" of a macro is a single action in the macro (corresponding to a key type and some action in the editor, such as a letter inserted into the document, scrolling one page down, selecting the current line, etc.).PlusMinusFoldIcon The default +/- icon for expanding and collapsing folds.RDocument The document implementation used by instances ofRTextArea
.RDocument.RGapContent Document content that provides fast access to individual characters.RDocumentCharSequence Allows iterating over a portion of anRDocument
.RecordableTextAction The base action used by the actions defined inRTextAreaEditorKit
.RegExReplaceInfo Information on how to implement a regular expression "replace" operation.RTADefaultInputMap The default input map for anRTextArea
.RTATextTransferHandler Handles the transfer of data to/from anRTextArea
via drag-and-drop.RTATextTransferHandler.TextTransferable A possible implementation of the Transferable interface for RTextAreas.RTextArea An extension ofJTextArea
that adds the following features: Insert/Overwrite modes (can be toggled via the Insert key) A right-click popup menu with standard editing options Macro support "Mark all" functionality.RTextAreaBase This is the base class forRTextArea
; basically it's just an extension ofjavax.swing.JTextArea
adding a bunch of properties.RTextAreaBase.RTAMouseListener Listens for mouse events in this component.RTextAreaEditorKit An extension ofDefaultEditorKit
that adds functionality found inRTextArea
.RTextAreaEditorKit.BeepAction Creates a beep.RTextAreaEditorKit.BeginAction Moves the caret to the beginning of the document.RTextAreaEditorKit.BeginLineAction Toggles the position of the caret between the beginning of the line, and the first non-whitespace character on the line.RTextAreaEditorKit.BeginRecordingMacroAction Action that begins recording a macro.RTextAreaEditorKit.BeginWordAction Positions the caret at the beginning of the word.RTextAreaEditorKit.ClipboardHistoryAction Action for displaying a popup with a list of recently pasted text snippets.RTextAreaEditorKit.CopyAction Action for copying text.RTextAreaEditorKit.CutAction Action for cutting text.RTextAreaEditorKit.DecreaseFontSizeAction Action for decreasing the font size.RTextAreaEditorKit.DefaultKeyTypedAction The action to use when no actions in the input/action map meet the key pressed.RTextAreaEditorKit.DeleteLineAction Deletes the current line(s).RTextAreaEditorKit.DeleteNextCharAction Deletes the character of content that follows the current caret position.RTextAreaEditorKit.DeletePrevCharAction Deletes the character of content that precedes the current caret position.RTextAreaEditorKit.DeletePrevWordAction Action that deletes the previous word in the text area.RTextAreaEditorKit.DeleteRestOfLineAction Action that deletes all text from the caret position to the end of the caret's line.RTextAreaEditorKit.DumbCompleteWordAction Finds the most recent word in the document that matches the "word" up to the current caret position, and auto-completes the rest.RTextAreaEditorKit.EndAction Moves the caret to the end of the document.RTextAreaEditorKit.EndLineAction Positions the caret at the end of the line.RTextAreaEditorKit.EndRecordingMacroAction Action that ends recording a macro.RTextAreaEditorKit.EndWordAction Positions the caret at the end of the word.RTextAreaEditorKit.IncreaseFontSizeAction Action for increasing the font size.RTextAreaEditorKit.InsertBreakAction Action for when the user presses the Enter key.RTextAreaEditorKit.InsertContentAction Action taken when content is to be inserted.RTextAreaEditorKit.InsertTabAction Places a tab character into the document.RTextAreaEditorKit.InvertSelectionCaseAction Action to invert the selection's case.RTextAreaEditorKit.JoinLinesAction Action to join the current line and the following line.RTextAreaEditorKit.LineMoveAction Action that moves a line up or down.RTextAreaEditorKit.LowerSelectionCaseAction Action to make the selection lower-case.RTextAreaEditorKit.NextBookmarkAction Action that moves the caret to the next (or previous) bookmark.RTextAreaEditorKit.NextOccurrenceAction Selects the next occurrence of the text last selected.RTextAreaEditorKit.NextVisualPositionAction Action to move the selection and/or caret.RTextAreaEditorKit.NextWordAction Positions the caret at the next word.RTextAreaEditorKit.PageAction Pages one view to the left or right.RTextAreaEditorKit.PasteAction Action for pasting text.RTextAreaEditorKit.PlaybackLastMacroAction "Plays back" the last macro recorded.RTextAreaEditorKit.PreviousOccurrenceAction Select the previous occurrence of the text last selected.RTextAreaEditorKit.PreviousWordAction Positions the caret at the beginning of the previous word.RTextAreaEditorKit.RedoAction Re-does the last action undone.RTextAreaEditorKit.ScrollAction Scrolls the text area one line up or down, without changing the caret position.RTextAreaEditorKit.SelectAllAction Selects the entire document.RTextAreaEditorKit.SelectLineAction Selects the line around the caret.RTextAreaEditorKit.SelectWordAction Selects the word around the caret.RTextAreaEditorKit.SetReadOnlyAction Puts the text area into read-only mode.RTextAreaEditorKit.SetWritableAction Puts the text area into writable (from read-only) mode.RTextAreaEditorKit.TimeDateAction The action for inserting a time/date stamp.RTextAreaEditorKit.ToggleBookmarkAction Toggles whether the current line has a bookmark.RTextAreaEditorKit.ToggleTextModeAction The action for the insert key toggling insert/overwrite modes.RTextAreaEditorKit.UndoAction Undoes the last action done.RTextAreaEditorKit.UnselectAction Removes the selection, if any.RTextAreaEditorKit.UpperSelectionCaseAction Action to make the selection upper-case.RTextAreaEditorKit.VerticalPageAction Scrolls up/down vertically.RTextAreaHighlighter The highlighter implementation used byRTextArea
s.RTextAreaHighlighter.HighlightInfoImpl A straightforward implementation ofHighlightInfo
.RTextAreaHighlighter.LayeredHighlightInfoImpl A straightforward implementation ofHighlightInfo
for painting layered highlights.RTextAreaUI The UI used by instances ofRTextArea
.RTextScrollPane An extension ofJScrollPane
that will only takeRTextArea
s (orjavax.swing.JLayer
s decoratingRTextArea
s) for its view.RUndoManager This class manages undos/redos for a particular editor pane.SearchContext Contains information about a find/replace operation.SearchEngine A singleton class that can perform advanced find/replace operations in anRTextArea
.SearchResult The result of a find, replace, or "mark all" operation.SmartHighlightPainter A "smart" highlight painter designed for use in RSyntaxTextArea.VolatileImageBackgroundPainterStrategy A strategy for painting the background of anRTextAreaBase
as an image. -
Enum Summary Enum Description CaretStyle Provides various ways to render a caret such asConfigurableCaret
..ConfigurableCaret.SelectionType Describes the current selection behavior.ExpandedFoldRenderStrategy The strategy to use when rendering expanded folds in the gutter.FoldIndicatorStyle Different rendering styles for the fold indicator inside aGutter
.