javax.swing.text.rtf |
Provides a class (RTFEditorKit ) for creating Rich-Text-Format
text editors.
Note:
Most of the Swing API is not thread safe.
For details, see
Threads and Swing,
a section in
The Java Tutorial.
@since 1.2
@serial exclude
|
Java Source File Name | Type | Comment |
AbstractFilter.java | Class | A generic superclass for streams which read and parse text
consisting of runs of characters interspersed with occasional
``specials'' (formatting characters).
Most of the functionality
of this class would be redundant except that the
ByteToChar converters
are suddenly private API. |
Constants.java | Class | Class to hold dictionary keys used by the RTF reader/writer. |
MockAttributeSet.java | Class | |
RTFAttribute.java | Interface | This interface describes a class which defines a 1-1 mapping between
an RTF keyword and a SwingText attribute. |
RTFAttributes.java | Class | |
RTFEditorKit.java | Class | This is the default implementation of RTF editing
functionality. |
RTFGenerator.java | Class | Generates an RTF output stream (java.io.OutputStream) from rich text
(handed off through a series of LTTextAcceptor calls). |
RTFParser.java | Class | RTFParser is a subclass of AbstractFilter which understands basic RTF syntax
and passes a stream of control words, text, and begin/end group
indications to its subclass. |
RTFReader.java | Class | Takes a sequence of RTF tokens and text and appends the text
described by the RTF to a StyledDocument (the target).
The RTF is lexed
from the character stream by the RTFParser which is this class's
superclass.
This class is an indirect subclass of OutputStream. |