📄 htmleditorkit.htmltextaction.html
字号:
<BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.StyledEditorKit.StyledTextAction"><!-- --></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.StyledTextAction.html">StyledEditorKit.StyledTextAction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html#getEditor(java.awt.event.ActionEvent)">getEditor</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html#getStyledDocument(javax.swing.JEditorPane)">getStyledDocument</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html#getStyledEditorKit(javax.swing.JEditorPane)">getStyledEditorKit</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html#setCharacterAttributes(javax.swing.JEditorPane, javax.swing.text.AttributeSet, boolean)">setCharacterAttributes</A>, <A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html#setParagraphAttributes(javax.swing.JEditorPane, javax.swing.text.AttributeSet, boolean)">setParagraphAttributes</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.TextAction"><!-- --></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/TextAction.html">TextAction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/TextAction.html#augmentList(javax.swing.Action[], javax.swing.Action[])">augmentList</A>, <A HREF="../../../../javax/swing/text/TextAction.html#getFocusedComponent()">getFocusedComponent</A>, <A HREF="../../../../javax/swing/text/TextAction.html#getTextComponent(java.awt.event.ActionEvent)">getTextComponent</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.AbstractAction"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.<A HREF="../../../../javax/swing/AbstractAction.html">AbstractAction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/AbstractAction.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../../javax/swing/AbstractAction.html#clone()">clone</A>, <A HREF="../../../../javax/swing/AbstractAction.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, <A HREF="../../../../javax/swing/AbstractAction.html#getKeys()">getKeys</A>, <A HREF="../../../../javax/swing/AbstractAction.html#getValue(java.lang.String)">getValue</A>, <A HREF="../../../../javax/swing/AbstractAction.html#isEnabled()">isEnabled</A>, <A HREF="../../../../javax/swing/AbstractAction.html#putValue(java.lang.String, java.lang.Object)">putValue</A>, <A HREF="../../../../javax/swing/AbstractAction.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../../javax/swing/AbstractAction.html#setEnabled(boolean)">setEnabled</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> <A NAME="methods_inherited_from_class_java.awt.event.ActionListener"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface java.awt.event.<A HREF="../../../../java/awt/event/ActionListener.html">ActionListener</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/awt/event/ActionListener.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</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="HTMLEditorKit.HTMLTextAction(java.lang.String)"><!-- --></A><H3>HTMLEditorKit.HTMLTextAction</H3><PRE>public <B>HTMLEditorKit.HTMLTextAction</B>(<A HREF="../../../../java/lang/String.html">String</A> name)</PRE><DL></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="getHTMLDocument(javax.swing.JEditorPane)"><!-- --></A><H3>getHTMLDocument</H3><PRE>protected <A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A> <B>getHTMLDocument</B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A> e)</PRE><DL><DD><DL><DT><B>Returns:</B><DD>HTMLDocument of <code>e</code>.</DL></DD></DL><HR><A NAME="getHTMLEditorKit(javax.swing.JEditorPane)"><!-- --></A><H3>getHTMLEditorKit</H3><PRE>protected <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html">HTMLEditorKit</A> <B>getHTMLEditorKit</B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A> e)</PRE><DL><DD><DL><DT><B>Returns:</B><DD>HTMLEditorKit for <code>e</code>.</DL></DD></DL><HR><A NAME="getElementsAt(javax.swing.text.html.HTMLDocument, int)"><!-- --></A><H3>getElementsAt</H3><PRE>protected <A HREF="../../../../javax/swing/text/Element.html">Element</A>[] <B>getElementsAt</B>(<A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A> doc, int offset)</PRE><DL><DD>Returns an array of the Elements that contain <code>offset</code>. The first elements corresponds to the root.</DL><HR><A NAME="elementCountToTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>elementCountToTag</H3><PRE>protected int <B>elementCountToTag</B>(<A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A> doc, int offset, <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> tag)</PRE><DL><DD>Returns number of elements, starting at the deepest leaf, needed to get to an element representing <code>tag</code>. This will return -1 if no elements is found representing <code>tag</code>, or 0 if the parent of the leaf at <code>offset</code> represents <code>tag</code>.</DL><HR><A NAME="findElementMatchingTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>findElementMatchingTag</H3><PRE>protected <A HREF="../../../../javax/swing/text/Element.html">Element</A> <B>findElementMatchingTag</B>(<A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A> doc, int offset, <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> tag)</PRE><DL><DD>Returns the deepest element at <code>offset</code> matching <code>tag</code>.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HTMLEditorKit.HTMLTextAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLFactory.html"><B>PREV CLASS</B></A> <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.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> <A HREF="HTMLEditorKit.HTMLTextAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_javax.swing.AbstractAction">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -