This is the default implementation of RTF editing functionality. The RTF support was not written by the Swing team. In the future we hope to improve the support provided.
This is the default implementation of RTF editing functionality. The RTF support was not written by the Swing team. In the future we hope to improve the support provided.
(->rtf-editor-kit)
Constructor.
Constructs an RTFEditorKit.
Constructor. Constructs an RTFEditorKit.
(get-content-type this)
Get the MIME type of the data that this kit represents support for. This kit supports the type text/rtf.
returns: the type - java.lang.String
Get the MIME type of the data that this kit represents support for. This kit supports the type text/rtf. returns: the type - `java.lang.String`
(read this in doc pos)
Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler.
in - The stream to read from - java.io.InputStream
doc - The destination for the insertion. - javax.swing.text.Document
pos - The location in the document to place the content. - int
throws: java.io.IOException - on any I/O error
Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler. in - The stream to read from - `java.io.InputStream` doc - The destination for the insertion. - `javax.swing.text.Document` pos - The location in the document to place the content. - `int` throws: java.io.IOException - on any I/O error
(write this out doc pos len)
Write content from a document to the given stream in a format appropriate for this kind of content handler.
out - The stream to write to - java.io.OutputStream
doc - The source for the write. - javax.swing.text.Document
pos - The location in the document to fetch the content. - int
len - The amount to write out. - int
throws: java.io.IOException - on any I/O error
Write content from a document to the given stream in a format appropriate for this kind of content handler. out - The stream to write to - `java.io.OutputStream` doc - The source for the write. - `javax.swing.text.Document` pos - The location in the document to fetch the content. - `int` len - The amount to write out. - `int` throws: java.io.IOException - on any I/O error
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close