<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:55 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  HTMLDocument.RunElement
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/HTMLDocument.RunElement.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLDocument.Iterator.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="HTMLDocument.RunElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="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>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing.text.html</FONT>
<BR>
Class  HTMLDocument.RunElement</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html">javax.swing.text.AbstractDocument.AbstractElement</A>
        |
        +--<A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html">javax.swing.text.AbstractDocument.LeafElement</A>
              |
              +--<B>javax.swing.text.html.HTMLDocument.RunElement</B>
</PRE>
<HR>
<DL>
<DT>public class <B>HTMLDocument.RunElement</B><DT>extends <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html">AbstractDocument.LeafElement</A></DL>

<P>
An element that represents a chunk of text that has
 a set of html character level attributes assigned to
 it.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#javax.swing.text.html.HTMLDocument.RunElement">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLDocument.RunElement.html#HTMLDocument.RunElement(javax.swing.text.html.HTMLDocument, javax.swing.text.Element, javax.swing.text.AttributeSet, int, int)">HTMLDocument.RunElement</A></B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;parent,
                        <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;a,
                        int&nbsp;offs0,
                        int&nbsp;offs1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an element that represents content within the
 document (has no children).</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLDocument.RunElement.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the name of the element.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the resolving parent.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.AbstractDocument.LeafElement"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="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" ID="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>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.AbstractDocument.AbstractElement"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="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" ID="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>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="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>&nbsp;parent,
                               <A HREF="../../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;a,
                               int&nbsp;offs0,
                               int&nbsp;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 >= 0<DD><CODE>offs1</CODE> - The end offset >= offs0</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Gets the name of the element.<DD><DL>
<DT><B>Returns:</B><DD>the name, null if none<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html#getName()">getName</A> in class <A HREF="../../../../javax/swing/text/AbstractDocument.LeafElement.html">AbstractDocument.LeafElement</A></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>Returns:</B><DD>null, there are none<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html#getResolveParent()">getResolveParent</A> in class <A HREF="../../../../javax/swing/text/AbstractDocument.AbstractElement.html">AbstractDocument.AbstractElement</A><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" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/HTMLDocument.RunElement.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLDocument.Iterator.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="HTMLDocument.RunElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="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>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
