<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:58 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  HTMLEditorKit.InsertHTMLTextAction
</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/HTMLEditorKit.InsertHTMLTextAction.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/HTMLEditorKit.HTMLTextAction.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.LinkController.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="HTMLEditorKit.InsertHTMLTextAction.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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  HTMLEditorKit.InsertHTMLTextAction</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../../javax/swing/AbstractAction.html">javax.swing.AbstractAction</A>
        |
        +--<A HREF="../../../../javax/swing/text/TextAction.html">javax.swing.text.TextAction</A>
              |
              +--<A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html">javax.swing.text.StyledEditorKit.StyledTextAction</A>
                    |
                    +--<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html">javax.swing.text.html.HTMLEditorKit.HTMLTextAction</A>
                          |
                          +--<B>javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction</B>
</PRE>
<HR>
<DL>
<DT>public static class <B>HTMLEditorKit.InsertHTMLTextAction</B><DT>extends <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html">HTMLEditorKit.HTMLTextAction</A></DL>

<P>
InsertHTMLTextAction can be used to insert an arbitrary string of HTML
 into an existing HTML document. At least two HTML.Tags need to be
 supplied. The first Tag, parentTag, identifies the parent in
 the document to add the elements to. The second tag, addTag,
 identifies the first tag that should be added to the document as
 seen in the HTML string. One important thing to remember, is that
 the parser is going to generate all the appropriate tags, even if
 they aren't in the HTML string passed in.<p>
 For example, lets say you wanted to create an action to insert
 a table into the body. The parentTag would be HTML.Tag.BODY,
 addTag would be HTML.Tag.TABLE, and the string could be something
 like &lt;table>&lt;tr>&lt;td>&lt;/td>&lt;/tr>&lt;/table>.
 <p>There is also an option to supply an alternate parentTag and
 addTag. These will be checked for if there is no parentTag at
 offset.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction">Serialized Form</A></DL>
<HR>

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


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

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#addTag">addTag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag in HTML to start adding tags from.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#alternateAddTag">alternateAddTag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alternate tag in HTML to start adding tags from if parentTag
 is not found and alternateParentTag is found.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#alternateParentTag">alternateParentTag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alternate Tag to check for in the document if parentTag is
 not found.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#html">html</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HTML to insert.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#parentTag">parentTag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tag to check for in the document.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.AbstractAction"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.<A HREF="../../../../javax/swing/AbstractAction.html">AbstractAction</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/AbstractAction.html#changeSupport">changeSupport</A>,  
<A HREF="../../../../javax/swing/AbstractAction.html#enabled">enabled</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/HTMLEditorKit.InsertHTMLTextAction.html#HTMLEditorKit.InsertHTMLTextAction(java.lang.String, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)">HTMLEditorKit.InsertHTMLTextAction</A></B>(java.lang.String&nbsp;name,
                                   java.lang.String&nbsp;html,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#HTMLEditorKit.InsertHTMLTextAction(java.lang.String, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)">HTMLEditorKit.InsertHTMLTextAction</A></B>(java.lang.String&nbsp;name,
                                   java.lang.String&nbsp;html,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;alternateParentTag,
                                   <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;alternateAddTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;ae)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the html into the document.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#insertAtBoundry(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, int, javax.swing.text.Element, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)">insertAtBoundry</A></B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;editor,
                <A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A>&nbsp;doc,
                int&nbsp;offset,
                <A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;insertElement,
                java.lang.String&nbsp;html,
                <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is invoked when inserting at a boundry.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html#insertHTML(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, int, java.lang.String, int, int, javax.swing.text.html.HTML.Tag)">insertHTML</A></B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;editor,
           <A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A>&nbsp;doc,
           int&nbsp;offset,
           java.lang.String&nbsp;html,
           int&nbsp;popDepth,
           int&nbsp;pushDepth,
           <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A cover for HTMLEditorKit.insertHTML.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.html.HTMLEditorKit.HTMLTextAction"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.html.<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html">HTMLEditorKit.HTMLTextAction</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html#elementCountToTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML.Tag)">elementCountToTag</A>, 
<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html#findElementMatchingTag(javax.swing.text.html.HTMLDocument, int, javax.swing.text.html.HTML.Tag)">findElementMatchingTag</A>, 
<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html#getElementsAt(javax.swing.text.html.HTMLDocument, int)">getElementsAt</A>, 
<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html#getHTMLDocument(javax.swing.JEditorPane)">getHTMLDocument</A>, 
<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html#getHTMLEditorKit(javax.swing.JEditorPane)">getHTMLEditorKit</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.StyledEditorKit.StyledTextAction"><!-- --></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/StyledEditorKit.StyledTextAction.html">StyledEditorKit.StyledTextAction</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="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>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.TextAction"><!-- --></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/TextAction.html">TextAction</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="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>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.AbstractAction"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.<A HREF="../../../../javax/swing/AbstractAction.html">AbstractAction</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="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#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>
&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>equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

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

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

<A NAME="html"><!-- --></A><H3>
html</H3>
<PRE>
protected java.lang.String <B>html</B></PRE>
<DL>
<DD>HTML to insert.</DL>
<HR>

<A NAME="parentTag"><!-- --></A><H3>
parentTag</H3>
<PRE>
protected <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> <B>parentTag</B></PRE>
<DL>
<DD>Tag to check for in the document.</DL>
<HR>

<A NAME="addTag"><!-- --></A><H3>
addTag</H3>
<PRE>
protected <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> <B>addTag</B></PRE>
<DL>
<DD>Tag in HTML to start adding tags from.</DL>
<HR>

<A NAME="alternateParentTag"><!-- --></A><H3>
alternateParentTag</H3>
<PRE>
protected <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> <B>alternateParentTag</B></PRE>
<DL>
<DD>Alternate Tag to check for in the document if parentTag is
 not found.</DL>
<HR>

<A NAME="alternateAddTag"><!-- --></A><H3>
alternateAddTag</H3>
<PRE>
protected <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A> <B>alternateAddTag</B></PRE>
<DL>
<DD>Alternate tag in HTML to start adding tags from if parentTag
 is not found and alternateParentTag is found.</DL>

<!-- ========= 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="HTMLEditorKit.InsertHTMLTextAction(java.lang.String, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>
HTMLEditorKit.InsertHTMLTextAction</H3>
<PRE>
public <B>HTMLEditorKit.InsertHTMLTextAction</B>(java.lang.String&nbsp;name,
                                          java.lang.String&nbsp;html,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</PRE>
<DL>
</DL>
<HR>

<A NAME="HTMLEditorKit.InsertHTMLTextAction(java.lang.String, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>
HTMLEditorKit.InsertHTMLTextAction</H3>
<PRE>
public <B>HTMLEditorKit.InsertHTMLTextAction</B>(java.lang.String&nbsp;name,
                                          java.lang.String&nbsp;html,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;alternateParentTag,
                                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;alternateAddTag)</PRE>
<DL>
</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="insertHTML(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, int, java.lang.String, int, int, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>
insertHTML</H3>
<PRE>
protected void <B>insertHTML</B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;editor,
                          <A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A>&nbsp;doc,
                          int&nbsp;offset,
                          java.lang.String&nbsp;html,
                          int&nbsp;popDepth,
                          int&nbsp;pushDepth,
                          <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</PRE>
<DL>
<DD>A cover for HTMLEditorKit.insertHTML. If an exception it
 thrown it is wrapped in a RuntimeException and thrown.</DL>
<HR>

<A NAME="insertAtBoundry(javax.swing.JEditorPane, javax.swing.text.html.HTMLDocument, int, javax.swing.text.Element, java.lang.String, javax.swing.text.html.HTML.Tag, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>
insertAtBoundry</H3>
<PRE>
protected void <B>insertAtBoundry</B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;editor,
                               <A HREF="../../../../javax/swing/text/html/HTMLDocument.html">HTMLDocument</A>&nbsp;doc,
                               int&nbsp;offset,
                               <A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;insertElement,
                               java.lang.String&nbsp;html,
                               <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;parentTag,
                               <A HREF="../../../../javax/swing/text/html/HTML.Tag.html">HTML.Tag</A>&nbsp;addTag)</PRE>
<DL>
<DD>This is invoked when inserting at a boundry. It determines
 the number of pops, and then the number of pushes that need
 to be performed, and then invokes insertHTML.</DL>
<HR>

<A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
actionPerformed</H3>
<PRE>
public void <B>actionPerformed</B>(java.awt.event.ActionEvent&nbsp;ae)</PRE>
<DL>
<DD>Inserts the html into the document.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - the event</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/HTMLEditorKit.InsertHTMLTextAction.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/HTMLEditorKit.HTMLTextAction.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.LinkController.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="HTMLEditorKit.InsertHTMLTextAction.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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>
