📄 htmldocument.runelement.html
字号:
<CODE> <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLDocument.RunElement.html#getResolveParent()">getResolveParent</A></B>()</CODE><BR> Gets the resolving parent.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.AbstractDocument.LeafElement"><!-- --></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/AbstractDocument.LeafElement.html">AbstractDocument.LeafElement</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#children()">children</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getAllowsChildren()">getAllowsChildren</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getElement(int)">getElement</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getElementCount()">getElementCount</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getElementIndex(int)">getElementIndex</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getEndOffset()">getEndOffset</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getStartOffset()">getStartOffset</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#isLeaf()">isLeaf</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.AbstractDocument.AbstractElement"><!-- --></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/AbstractDocument.AbstractElement.html">AbstractDocument.AbstractElement</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#addAttribute(java.lang.Object, java.lang.Object)">addAttribute</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#addAttributes(javax.swing.text.AttributeSet)">addAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#containsAttribute(java.lang.Object, java.lang.Object)">containsAttribute</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#containsAttributes(javax.swing.text.AttributeSet)">containsAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#copyAttributes()">copyAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#dump(java.io.PrintStream, int)">dump</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#finalize()">finalize</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getAttribute(java.lang.Object)">getAttribute</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getAttributeCount()">getAttributeCount</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getAttributeNames()">getAttributeNames</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getAttributes()">getAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getChildAt(int)">getChildAt</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getChildCount()">getChildCount</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getDocument()">getDocument</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getIndex(javax.swing.tree.TreeNode)">getIndex</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getParent()">getParent</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getParentElement()">getParentElement</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#isDefined(java.lang.Object)">isDefined</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#isEqual(javax.swing.text.AttributeSet)">isEqual</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#removeAttribute(java.lang.Object)">removeAttribute</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#removeAttributes(javax.swing.text.AttributeSet)">removeAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#removeAttributes(java.util.Enumeration)">removeAttributes</A>, <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#setResolveParent(javax.swing.text.AttributeSet)">setResolveParent</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#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</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#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="HTMLDocument.RunElement(javax.swing.text.html.HTMLDocument, javax.swing.text.Element, javax.swing.text.AttributeSet, int, int)"><!-- --></A><H3>HTMLDocument.RunElement</H3><PRE>public <B>HTMLDocument.RunElement</B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A> parent, <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A> a, int offs0, int offs1)</PRE><DL><DD>Constructs an element that represents content within the document (has no children).<DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent element<DD><CODE>a</CODE> - the element attributes<DD><CODE>offs0</CODE> - the start offset (must be at least 0)<DD><CODE>offs1</CODE> - the end offset (must be at least offs0)</DL></DD></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="getName()"><!-- --></A><H3>getName</H3><PRE>public <A HREF="../../../../java/lang/String.html">String</A> <B>getName</B>()</PRE><DL><DD>Gets the name of the element.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html">AbstractDocument.LeafElement</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name, null if none</DL></DD></DL><HR><A NAME="getResolveParent()"><!-- --></A><H3>getResolveParent</H3><PRE>public <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A> <B>getResolveParent</B>()</PRE><DL><DD>Gets the resolving parent. HTML attributes are not inherited at the model level so we override this to return null.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getResolveParent()">getResolveParent</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html">AbstractDocument.AbstractElement</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>null, there are none<DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/text/AttributeSet.html#getResolveParent()"><CODE>AttributeSet.getResolveParent()</CODE></A></DL></DD></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/HTMLDocument.RunElement.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/HTMLDocument.Iterator.html"><B>PREV CLASS</B></A> <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.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="HTMLDocument.RunElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <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 + -