⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stylededitorkit.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<HR><A NAME="getCharacterAttributeRun()"><!-- --></A><H3>getCharacterAttributeRun</H3><PRE>public <A HREF="../../../javax/swing/text/Element.html">Element</A> <B>getCharacterAttributeRun</B>()</PRE><DL><DD>Fetches the element representing the current run of character attributes for the caret.<DD><DL><DT><B>Returns:</B><DD>the element</DL></DD></DL><HR><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/EditorKit.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the copy</DL></DD></DL><HR><A NAME="getActions()"><!-- --></A><H3>getActions</H3><PRE>public <A HREF="../../../javax/swing/Action.html">Action</A>[] <B>getActions</B>()</PRE><DL><DD>Fetches the command list for the editor.  This is the list of commands supported by the superclass augmented by the collection of commands defined locally for style operations.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html#getActions()">getActions</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the command list</DL></DD></DL><HR><A NAME="createDefaultDocument()"><!-- --></A><H3>createDefaultDocument</H3><PRE>public <A HREF="../../../javax/swing/text/Document.html">Document</A> <B>createDefaultDocument</B>()</PRE><DL><DD>Creates an uninitialized text storage model that is appropriate for this type of editor.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html#createDefaultDocument()">createDefaultDocument</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the model</DL></DD></DL><HR><A NAME="install(javax.swing.JEditorPane)"><!-- --></A><H3>install</H3><PRE>public void <B>install</B>(<A HREF="../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;c)</PRE><DL><DD>Called when the kit is being installed into a JEditorPane.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/EditorKit.html#install(javax.swing.JEditorPane)">install</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the JEditorPane</DL></DD></DL><HR><A NAME="deinstall(javax.swing.JEditorPane)"><!-- --></A><H3>deinstall</H3><PRE>public void <B>deinstall</B>(<A HREF="../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;c)</PRE><DL><DD>Called when the kit is being removed from the JEditorPane.  This is used to unregister any  listeners that were attached.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/EditorKit.html#deinstall(javax.swing.JEditorPane)">deinstall</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the JEditorPane</DL></DD></DL><HR><A NAME="getViewFactory()"><!-- --></A><H3>getViewFactory</H3><PRE>public <A HREF="../../../javax/swing/text/ViewFactory.html">ViewFactory</A> <B>getViewFactory</B>()</PRE><DL><DD>Fetches a factory that is suitable for producing  views of any models that are produced by this kit.  This is implemented to return View implementations for the following kinds of elements: <ul> <li>AbstractDocument.ContentElementName <li>AbstractDocument.ParagraphElementName <li>AbstractDocument.SectionElementName <li>StyleConstants.ComponentElementName <li>StyleConstants.IconElementName </ul><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html#getViewFactory()">getViewFactory</A></CODE> in class <CODE><A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the factory</DL></DD></DL><HR><A NAME="createInputAttributes(javax.swing.text.Element, javax.swing.text.MutableAttributeSet)"><!-- --></A><H3>createInputAttributes</H3><PRE>protected void <B>createInputAttributes</B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;element,                                     <A HREF="../../../javax/swing/text/MutableAttributeSet.html">MutableAttributeSet</A>&nbsp;set)</PRE><DL><DD>Copies the key/values in <code>element</code>s AttributeSet into <code>set</code>. This does not copy component, icon, or element names attributes. Subclasses may wish to refine what is and what isn't copied here. But be sure to first remove all the attributes that are in <code>set</code>.<p> This is called anytime the caret moves over a different location.</DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/StyledEditorKit.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/swing/text/StyledEditorKit.AlignmentAction.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StyledEditorKit.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.DefaultEditorKit">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -