📄 rtfeditorkit.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#clone()">clone</A></B>()</CODE><BR> Create a copy of the editor kit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#getContentType()">getContentType</A></B>()</CODE><BR> Get the MIME type of the data that this kit represents support for.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#read(java.io.InputStream, javax.swing.text.Document, int)">read</A></B>(<A HREF="../../../../java/io/InputStream.html">InputStream</A> in, <A HREF="../../../../javax/swing/text/Document.html">Document</A> doc, int pos)</CODE><BR> Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#read(java.io.Reader, javax.swing.text.Document, int)">read</A></B>(<A HREF="../../../../java/io/Reader.html">Reader</A> in, <A HREF="../../../../javax/swing/text/Document.html">Document</A> doc, int pos)</CODE><BR> Insert content from the given stream, which will be treated as plain text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#write(java.io.OutputStream, javax.swing.text.Document, int, int)">write</A></B>(<A HREF="../../../../java/io/OutputStream.html">OutputStream</A> out, <A HREF="../../../../javax/swing/text/Document.html">Document</A> doc, int pos, int len)</CODE><BR> Write content from a document to the given stream in a format appropriate for this kind of content handler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/rtf/RTFEditorKit.html#write(java.io.Writer, javax.swing.text.Document, int, int)">write</A></B>(<A HREF="../../../../java/io/Writer.html">Writer</A> out, <A HREF="../../../../javax/swing/text/Document.html">Document</A> doc, int pos, int len)</CODE><BR> Write content from a document to the given stream as plain text.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.StyledEditorKit"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/StyledEditorKit.html#createDefaultDocument()">createDefaultDocument</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#createInputAttributes(javax.swing.text.Element, javax.swing.text.MutableAttributeSet)">createInputAttributes</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#deinstall(javax.swing.JEditorPane)">deinstall</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#getActions()">getActions</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#getCharacterAttributeRun()">getCharacterAttributeRun</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#getInputAttributes()">getInputAttributes</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#getViewFactory()">getViewFactory</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.html#install(javax.swing.JEditorPane)">install</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.DefaultEditorKit"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#createCaret()">createCaret</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="RTFEditorKit()"><!-- --></A><H3>RTFEditorKit</H3><PRE>public <B>RTFEditorKit</B>()</PRE><DL><DD>Constructs an RTFEditorKit.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../../java/lang/Object.html">Object</A> <B>clone</B>()</PRE><DL><DD>Create a copy of the editor kit. This allows an implementation to serve as a prototype for others, so that they can be quickly created.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/StyledEditorKit.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the copy</DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public <A HREF="../../../../java/lang/String.html">String</A> <B>getContentType</B>()</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -