<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:57 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  HTMLEditorKit
</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.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.RunElement.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLFactory.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.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&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</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../../javax/swing/text/EditorKit.html">javax.swing.text.EditorKit</A>
        |
        +--<A HREF="../../../../javax/swing/text/DefaultEditorKit.html">javax.swing.text.DefaultEditorKit</A>
              |
              +--<A HREF="../../../../javax/swing/text/StyledEditorKit.html">javax.swing.text.StyledEditorKit</A>
                    |
                    +--<B>javax.swing.text.html.HTMLEditorKit</B>
</PRE>
<HR>
<DL>
<DT>public class <B>HTMLEditorKit</B><DT>extends <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></DL>

<P>
The Swing JEditorPane text component supports different kinds
 of content via a plug-in mechanism called an EditorKit.  Because
 HTML is a very popular format of content, some support is provided
 by default.  The default support is provided by this class, which
 supports HTML version 3.2 (with some extensions), and is migrating
 toward version 4.0.
 The &lt;applet&gt; tag is not supported, but some support is provided
 for the &lt;object&gt; tag.
 <p>
 There are several goals of the HTML EditorKit provided, that have
 an effect upon the way that html is modeled.  These
 have influenced its design in a substantial way.
 <dl>
 <dt>
 Support editing
 <dd>
 It might seem fairly obvious that a plug-in for JEditorPane
 should provide editing support, but that fact has several
 design considerations.  There are a substantial number of html
 documents that don't properly conform to an html specification.
 These must be normalized somewhat into a correct form if one
 is to edit them.  Additionally, users don't like to be presented
 with an excessive amount of structure editing, so using traditional
 text editing gestures is preferred over using the html structure
 exactly as defined in the html document.
 <p>
 The modeling of html is provided by the class <code>HTMLDocument</code>.
 It's documention describes the details of how the html is modeled.
 The editing support leverages heavily off of the text package.
 <dt>
 Extendable/Scalable
 <dd>
 To maximize the usefulness of this kit, a great deal of effort
 has gone into making it extendable.  These are some of the
 features.
 <ol>
   <li>
   The parser is replacable.  The default parser is the Hot Java
   parser which is DTD based.  A different DTD can be used, or an
   entirely different parser can be used.  To change the parser,
   reimplement the getParser method.  The default parser is
   dynamically loaded when first asked for, so the class files
   will never be loaded if an alternative parser is used.  The
   default parser is in a seperate package called parser below
   this package.
   <li>
   The parser drives the ParserCallback, which is provided by
   HTMLDocument.  To change the callback, subclass HTMLDocument
   and reimplement the createDefaultDocument method to return
   document that produces a different reader.  The reader controls
   how the document is structured.  Although the Document provides
   HTML support by default, there is nothing preventing support of
   non-html tags that result in alternative element structures.
   <li>
   The default view of the models are provided as a hierarchy of
   View implementations, so one can easily customize how a particular
   element is displayed or add capabilities for new kinds of elements
   by providing new View implementations.  The default set of views
   are provided by the <code>HTMLFactory</code> class.  This can
   be easily changed by subclassing or replacing the HTMLFactory
   and reimplementing the getViewFactory method to return the alternative
   factory.
   <li>
   The View implementations work primarily off of CSS attributes,
   which are kept in the views.  This makes it possible to have
   multiple views mapped over the same model that appear substantially
   different.  This can be especially useful for printing.  For
   most html attributes, the html attributes are converted to css
   attributes for display.  This helps make the View implementations
   more general purpose
 <dt>
 Asynchronous Loading
 <dd>
 Larger documents involve a lot of parsing and take some time
 to load.  By default, this kit produces documents that will be
 loaded asynchronously if loaded using <code>JEditorPane.setPage</code>.
 This is controlled by a property on the document.  The method
 <a href="#createDefaultDocument">createDefaultDocument</a> can
 be overriden to change this.  The batching of work is done
 by the <code>HTMLDocument.HTMLReader</code> class.  The actual
 work is done by the <code>DefaultStyledDocument</code> and
 <code>AbstractDocument</code> classes in the text package.
 <dt>
 Customization from current LAF
 <dd>
 HTML provides a well known set of features without exactly
 specifying the display characteristics.  Swing has a theme
 mechanism for its look-and-feel implementations.  It is desirable
 for the look-and-feel to feed display characteristics into the
 HTML views.  An user with poor vision for example would want
 high contrast and larger than typical fonts.
 <p>
 The support for this is provided by the <code>StyleSheet</code>
 class.  The presentation of the HTML can be heavily influenced
 by the setting of the StyleSheet property on the EditorKit.
 <dt>
 Not lossy
 <dd>
 An EditorKit has the ability to be read and save documents.
 It is generally the most pleasing to users if there is no loss
 of data between the two operation.  The policy of the HTMLEditorKit
 will be to store things not recognized or not necessarily visible
 so they can be subsequently written out.  The model of the html document
 should therefore contain all information discovered while reading the
 document.  This is constrained in some ways by the need to support
 editing (i.e. incorrect documents sometimes must be normalized).
 The guiding principle is that information shouldn't be lost, but
 some might be synthesized to produce a more correct model or it might
 be rearranged.
 </dl>
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#javax.swing.text.html.HTMLEditorKit">Serialized Form</A></DL>
<HR>

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

<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLFactory.html">HTMLEditorKit.HTMLFactory</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A factory to build views for html.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLTextAction.html">HTMLEditorKit.HTMLTextAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An abstract Action providing some convenience methods that may
 be useful in inserting HTML into an existing document.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.InsertHTMLTextAction.html">HTMLEditorKit.InsertHTMLTextAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InsertHTMLTextAction can be used to insert an arbitrary string of HTML
 into an existing HTML document.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.LinkController.html">HTMLEditorKit.LinkController</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class to watch the associated component and fire
 hyperlink events on it when appropriate.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.Parser.html">HTMLEditorKit.Parser</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Interface to be supported by the parser.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.ParserCallback.html">HTMLEditorKit.ParserCallback</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The result of parsing drives these callback methods.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.text.StyledEditorKit"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../javax/swing/text/StyledEditorKit.AlignmentAction.html">StyledEditorKit.AlignmentAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.BoldAction.html">StyledEditorKit.BoldAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.FontFamilyAction.html">StyledEditorKit.FontFamilyAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.FontSizeAction.html">StyledEditorKit.FontSizeAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.ForegroundAction.html">StyledEditorKit.ForegroundAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.ItalicAction.html">StyledEditorKit.ItalicAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.StyledTextAction.html">StyledEditorKit.StyledTextAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/StyledEditorKit.UnderlineAction.html">StyledEditorKit.UnderlineAction</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.text.DefaultEditorKit"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../javax/swing/text/DefaultEditorKit.BeepAction.html">DefaultEditorKit.BeepAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.CopyAction.html">DefaultEditorKit.CopyAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.CutAction.html">DefaultEditorKit.CutAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.DefaultKeyTypedAction.html">DefaultEditorKit.DefaultKeyTypedAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.InsertBreakAction.html">DefaultEditorKit.InsertBreakAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.InsertContentAction.html">DefaultEditorKit.InsertContentAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.InsertTabAction.html">DefaultEditorKit.InsertTabAction</A></B>,  
<B><A HREF="../../../../javax/swing/text/DefaultEditorKit.PasteAction.html">DefaultEditorKit.PasteAction</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== 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>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#BOLD_ACTION">BOLD_ACTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The bold action identifier</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#COLOR_ACTION">COLOR_ACTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Color choice action identifier
The color is passed as an argument</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#DEFAULT_CSS">DEFAULT_CSS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default Cascading Style Sheet file that sets
 up the tag views.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#FONT_CHANGE_BIGGER">FONT_CHANGE_BIGGER</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The  font size increase to next value action identifier</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#FONT_CHANGE_SMALLER">FONT_CHANGE_SMALLER</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The font size decrease to next value action identifier</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#IMG_ALIGN_BOTTOM">IMG_ALIGN_BOTTOM</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align images at the bottom.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#IMG_ALIGN_MIDDLE">IMG_ALIGN_MIDDLE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align images in the middle.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#IMG_ALIGN_TOP">IMG_ALIGN_TOP</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align images at the top.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#IMG_BORDER">IMG_BORDER</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align images at the border.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#ITALIC_ACTION">ITALIC_ACTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The italic action identifier</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#LOGICAL_STYLE_ACTION">LOGICAL_STYLE_ACTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The logical style choice action identifier
The logical style is passed in as an argument</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#PARA_INDENT_LEFT">PARA_INDENT_LEFT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The paragraph left indent action identifier</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#PARA_INDENT_RIGHT">PARA_INDENT_RIGHT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The paragraph right indent action identifier</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.text.DefaultEditorKit"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#backwardAction">backwardAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#beepAction">beepAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#beginAction">beginAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#beginLineAction">beginLineAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#beginParagraphAction">beginParagraphAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#beginWordAction">beginWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#copyAction">copyAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#cutAction">cutAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#defaultKeyTypedAction">defaultKeyTypedAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#deleteNextCharAction">deleteNextCharAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#deletePrevCharAction">deletePrevCharAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#downAction">downAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#endAction">endAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#endLineAction">endLineAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#EndOfLineStringProperty">EndOfLineStringProperty</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#endParagraphAction">endParagraphAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#endWordAction">endWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#forwardAction">forwardAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#insertBreakAction">insertBreakAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#insertContentAction">insertContentAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#insertTabAction">insertTabAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#nextWordAction">nextWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#pageDownAction">pageDownAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#pageUpAction">pageUpAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#pasteAction">pasteAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#previousWordAction">previousWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#readOnlyAction">readOnlyAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectAllAction">selectAllAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionBackwardAction">selectionBackwardAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionBeginAction">selectionBeginAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionBeginLineAction">selectionBeginLineAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionBeginParagraphAction">selectionBeginParagraphAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionBeginWordAction">selectionBeginWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionDownAction">selectionDownAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionEndAction">selectionEndAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionEndLineAction">selectionEndLineAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionEndParagraphAction">selectionEndParagraphAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionEndWordAction">selectionEndWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionForwardAction">selectionForwardAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionNextWordAction">selectionNextWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionPreviousWordAction">selectionPreviousWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectionUpAction">selectionUpAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectLineAction">selectLineAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectParagraphAction">selectParagraphAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#selectWordAction">selectWordAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#upAction">upAction</A>,  
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#writableAction">writableAction</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.html#HTMLEditorKit()">HTMLEditorKit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an HTMLEditorKit, creates a StyleContext,
 and loads the style sheet.</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.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#clone()">clone</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a copy of the editor kit.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/swing/text/Document.html">Document</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#createDefaultDocument()">createDefaultDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an uninitialized text storage model
 that is appropriate for this type of editor.</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.html#createInputAttributes(javax.swing.text.Element, javax.swing.text.MutableAttributeSet)">createInputAttributes</A></B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;element,
                      <A HREF="../../../../javax/swing/text/MutableAttributeSet.html">MutableAttributeSet</A>&nbsp;set)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the key/values in <code>element</code>s AttributeSet into
 <code>set</code>.</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.html#deinstall(javax.swing.JEditorPane)">deinstall</A></B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when the kit is being removed from the
 JEditorPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/swing/Action.html">Action</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#getActions()">getActions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the command list for the editor.</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/HTMLEditorKit.html#getContentType()">getContentType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the MIME type of the data that this
 kit represents support for.</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/HTMLEditorKit.Parser.html">HTMLEditorKit.Parser</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#getParser()">getParser</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetch the parser to use for reading html streams.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/swing/text/html/StyleSheet.html">StyleSheet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#getStyleSheet()">getStyleSheet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the set of styles currently being used to render the
 html elements.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/swing/text/ViewFactory.html">ViewFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/HTMLEditorKit.html#getViewFactory()">getViewFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetch a factory that is suitable for producing
 views of any models that are produced by this
 kit.</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.html#insertHTML(javax.swing.text.html.HTMLDocument, int, java.lang.String, int, int, javax.swing.text.html.HTML.Tag)">insertHTML</A></B>(<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;insertTag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts HTML into an existing document.</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.html#install(javax.swing.JEditorPane)">install</A></B>(<A HREF="../../../../javax/swing/JEditorPane.html">JEditorPane</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when the kit is being installed into the
 a JEditorPane.</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.html#read(java.io.Reader, javax.swing.text.Document, int)">read</A></B>(java.io.Reader&nbsp;in,
     <A HREF="../../../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
     int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create and initialize a model from the given
 stream which is expected to be in a format appropriate
 for this kind of editor.</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.html#setStyleSheet(javax.swing.text.html.StyleSheet)">setStyleSheet</A></B>(<A HREF="../../../../javax/swing/text/html/StyleSheet.html">StyleSheet</A>&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the set of styles to be used to render the various
 html elements.</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.html#write(java.io.Writer, javax.swing.text.Document, int, int)">write</A></B>(java.io.Writer&nbsp;out,
      <A HREF="../../../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
      int&nbsp;pos,
      int&nbsp;len)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write content from a document to the given stream
 in a format appropriate for this kind of content handler.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.StyledEditorKit"><!-- --></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.html">StyledEditorKit</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/text/StyledEditorKit.html#getCharacterAttributeRun()">getCharacterAttributeRun</A>, 
<A HREF="../../../../javax/swing/text/StyledEditorKit.html#getInputAttributes()">getInputAttributes</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.DefaultEditorKit"><!-- --></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/DefaultEditorKit.html">DefaultEditorKit</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#createCaret()">createCaret</A>, 
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#read(java.io.InputStream, javax.swing.text.Document, int)">read</A>, 
<A HREF="../../../../javax/swing/text/DefaultEditorKit.html#write(java.io.OutputStream, javax.swing.text.Document, int, int)">write</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="DEFAULT_CSS"><!-- --></A><H3>
DEFAULT_CSS</H3>
<PRE>
public static final java.lang.String <B>DEFAULT_CSS</B></PRE>
<DL>
<DD>Default Cascading Style Sheet file that sets
 up the tag views.</DL>
<HR>

<A NAME="BOLD_ACTION"><!-- --></A><H3>
BOLD_ACTION</H3>
<PRE>
public static final java.lang.String <B>BOLD_ACTION</B></PRE>
<DL>
<DD>The bold action identifier</DL>
<HR>

<A NAME="ITALIC_ACTION"><!-- --></A><H3>
ITALIC_ACTION</H3>
<PRE>
public static final java.lang.String <B>ITALIC_ACTION</B></PRE>
<DL>
<DD>The italic action identifier</DL>
<HR>

<A NAME="PARA_INDENT_LEFT"><!-- --></A><H3>
PARA_INDENT_LEFT</H3>
<PRE>
public static final java.lang.String <B>PARA_INDENT_LEFT</B></PRE>
<DL>
<DD>The paragraph left indent action identifier</DL>
<HR>

<A NAME="PARA_INDENT_RIGHT"><!-- --></A><H3>
PARA_INDENT_RIGHT</H3>
<PRE>
public static final java.lang.String <B>PARA_INDENT_RIGHT</B></PRE>
<DL>
<DD>The paragraph right indent action identifier</DL>
<HR>

<A NAME="FONT_CHANGE_BIGGER"><!-- --></A><H3>
FONT_CHANGE_BIGGER</H3>
<PRE>
public static final java.lang.String <B>FONT_CHANGE_BIGGER</B></PRE>
<DL>
<DD>The  font size increase to next value action identifier</DL>
<HR>

<A NAME="FONT_CHANGE_SMALLER"><!-- --></A><H3>
FONT_CHANGE_SMALLER</H3>
<PRE>
public static final java.lang.String <B>FONT_CHANGE_SMALLER</B></PRE>
<DL>
<DD>The font size decrease to next value action identifier</DL>
<HR>

<A NAME="COLOR_ACTION"><!-- --></A><H3>
COLOR_ACTION</H3>
<PRE>
public static final java.lang.String <B>COLOR_ACTION</B></PRE>
<DL>
<DD>The Color choice action identifier
The color is passed as an argument</DL>
<HR>

<A NAME="LOGICAL_STYLE_ACTION"><!-- --></A><H3>
LOGICAL_STYLE_ACTION</H3>
<PRE>
public static final java.lang.String <B>LOGICAL_STYLE_ACTION</B></PRE>
<DL>
<DD>The logical style choice action identifier
The logical style is passed in as an argument</DL>
<HR>

<A NAME="IMG_ALIGN_TOP"><!-- --></A><H3>
IMG_ALIGN_TOP</H3>
<PRE>
public static final java.lang.String <B>IMG_ALIGN_TOP</B></PRE>
<DL>
<DD>Align images at the top.</DL>
<HR>

<A NAME="IMG_ALIGN_MIDDLE"><!-- --></A><H3>
IMG_ALIGN_MIDDLE</H3>
<PRE>
public static final java.lang.String <B>IMG_ALIGN_MIDDLE</B></PRE>
<DL>
<DD>Align images in the middle.</DL>
<HR>

<A NAME="IMG_ALIGN_BOTTOM"><!-- --></A><H3>
IMG_ALIGN_BOTTOM</H3>
<PRE>
public static final java.lang.String <B>IMG_ALIGN_BOTTOM</B></PRE>
<DL>
<DD>Align images at the bottom.</DL>
<HR>

<A NAME="IMG_BORDER"><!-- --></A><H3>
IMG_BORDER</H3>
<PRE>
public static final java.lang.String <B>IMG_BORDER</B></PRE>
<DL>
<DD>Align images at the border.</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()"><!-- --></A><H3>
HTMLEditorKit</H3>
<PRE>
public <B>HTMLEditorKit</B>()</PRE>
<DL>
<DD>Constructs an HTMLEditorKit, creates a StyleContext,
 and loads the style sheet.</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="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <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>Returns:</B><DD>the copy<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#clone()">clone</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></DL>
</DD>
</DL>
<HR>

<A NAME="getContentType()"><!-- --></A><H3>
getContentType</H3>
<PRE>
public java.lang.String <B>getContentType</B>()</PRE>
<DL>
<DD>Get the MIME type of the data that this
 kit represents support for.  This kit supports
 the type <code>text/html</code>.<DD><DL>
<DT><B>Returns:</B><DD>the type<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#getContentType()">getContentType</A> in class <A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></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>Fetch a factory that is suitable for producing
 views of any models that are produced by this
 kit.<DD><DL>
<DT><B>Returns:</B><DD>the factory<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#getViewFactory()">getViewFactory</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></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>Create an uninitialized text storage model
 that is appropriate for this type of editor.<DD><DL>
<DT><B>Returns:</B><DD>the model<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#createDefaultDocument()">createDefaultDocument</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></DL>
</DD>
</DL>
<HR>

<A NAME="read(java.io.Reader, javax.swing.text.Document, int)"><!-- --></A><H3>
read</H3>
<PRE>
public void <B>read</B>(java.io.Reader&nbsp;in,
                 <A HREF="../../../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
                 int&nbsp;pos)
          throws java.io.IOException,
                 <A HREF="../../../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Create and initialize a model from the given
 stream which is expected to be in a format appropriate
 for this kind of editor.  This is implemented to read
 html 3.2 text.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The stream to read from<DD><CODE>doc</CODE> - The destination for the insertion.<DD><CODE>pos</CODE> - The location in the document to place the
   content.<DT><B>Throws:</B><DD>java.io.IOException - on any I/O error<DD><A HREF="../../../../javax/swing/text/BadLocationException.html">BadLocationException</A> - if pos represents an invalid
   location within the document.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#read(java.io.Reader, javax.swing.text.Document, int)">read</A> in class <A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></DL>
</DD>
</DL>
<HR>

<A NAME="insertHTML(javax.swing.text.html.HTMLDocument, int, java.lang.String, int, int, javax.swing.text.html.HTML.Tag)"><!-- --></A><H3>
insertHTML</H3>
<PRE>
public void <B>insertHTML</B>(<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;insertTag)
                throws <A HREF="../../../../javax/swing/text/BadLocationException.html">BadLocationException</A>,
                       java.io.IOException</PRE>
<DL>
<DD>Inserts HTML into an existing document.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - Document to insert into.<DD><CODE>offset</CODE> - offset to insert HTML at<DD><CODE>popDepth</CODE> - number of ElementSpec.EndTagTag to generate before
        inserting.<DD><CODE>pushDepth</CODE> - number of ElementSpec.StartTagType with a direction
        of ElementSpec.JoinNextDirection that should be generated
        before inserting, but after the end tags have been generated.<DD><CODE>insertTag</CODE> - first tag to start inserting into document.</DL>
</DD>
</DL>
<HR>

<A NAME="write(java.io.Writer, javax.swing.text.Document, int, int)"><!-- --></A><H3>
write</H3>
<PRE>
public void <B>write</B>(java.io.Writer&nbsp;out,
                  <A HREF="../../../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
                  int&nbsp;pos,
                  int&nbsp;len)
           throws java.io.IOException,
                  <A HREF="../../../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Write content from a document to the given stream
 in a format appropriate for this kind of content handler.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>out</CODE> - The stream to write to<DD><CODE>doc</CODE> - The source for the write.<DD><CODE>pos</CODE> - The location in the document to fetch the
   content.<DD><CODE>len</CODE> - The amount to write out.<DT><B>Throws:</B><DD>java.io.IOException - on any I/O error<DD><A HREF="../../../../javax/swing/text/BadLocationException.html">BadLocationException</A> - if pos represents an invalid
   location within the document.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/DefaultEditorKit.html#write(java.io.Writer, javax.swing.text.Document, int, int)">write</A> in class <A HREF="../../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></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 the
 a JEditorPane.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the JEditorPane<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#install(javax.swing.JEditorPane)">install</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></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>Parameters:</B><DD><CODE>c</CODE> - the JEditorPane<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#deinstall(javax.swing.JEditorPane)">deinstall</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></DL>
</DD>
</DL>
<HR>

<A NAME="setStyleSheet(javax.swing.text.html.StyleSheet)"><!-- --></A><H3>
setStyleSheet</H3>
<PRE>
public void <B>setStyleSheet</B>(<A HREF="../../../../javax/swing/text/html/StyleSheet.html">StyleSheet</A>&nbsp;s)</PRE>
<DL>
<DD>Set the set of styles to be used to render the various
 html elements.  These styles are specified in terms of
 css specifications.  Each document produced by the kit
 will have a copy of the sheet which it can add the
 document specific styles to.  By default, the StyleSheet
 specified is shared by all HTMLEditorKit instances.
 This should be reimplemented to provide a finer granularity
 if desired.</DL>
<HR>

<A NAME="getStyleSheet()"><!-- --></A><H3>
getStyleSheet</H3>
<PRE>
public <A HREF="../../../../javax/swing/text/html/StyleSheet.html">StyleSheet</A> <B>getStyleSheet</B>()</PRE>
<DL>
<DD>Get the set of styles currently being used to render the
 html elements.  By default the resource specified by
 DEFAULT_CSS gets loaded, and is shared by all HTMLEditorKit
 instances.</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>Returns:</B><DD>the command list<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#getActions()">getActions</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></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.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/StyledEditorKit.html#createInputAttributes(javax.swing.text.Element, javax.swing.text.MutableAttributeSet)">createInputAttributes</A> in class <A HREF="../../../../javax/swing/text/StyledEditorKit.html">StyledEditorKit</A></DL>
</DD>
</DL>
<HR>

<A NAME="getParser()"><!-- --></A><H3>
getParser</H3>
<PRE>
protected <A HREF="../../../../javax/swing/text/html/HTMLEditorKit.Parser.html">HTMLEditorKit.Parser</A> <B>getParser</B>()</PRE>
<DL>
<DD>Fetch the parser to use for reading html streams.
 This can be reimplemented to provide a different
 parser.  The default implementation is loaded dynamically
 to avoid the overhead of loading the default parser if
 it's not used.  The default parser is the HotJava parser
 using an html 3.2 dtd.</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.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.RunElement.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/HTMLEditorKit.HTMLFactory.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.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&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>
