<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:35 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  StyledEditorKit
</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/StyledEditorKit.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/StyleContext.SmallAttributeSet.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/StyledEditorKit.AlignmentAction.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="StyledEditorKit.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="#fields_inherited_from_class_javax.swing.text.DefaultEditorKit">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;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</FONT>
<BR>
Class  StyledEditorKit</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>
              |
              +--<B>javax.swing.text.StyledEditorKit</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/swing/text/html/HTMLEditorKit.html">HTMLEditorKit</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>StyledEditorKit</B><DT>extends <A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></DL>

<P>
This is the set of things needed by a text component
 to be a reasonably functioning editor for some <em>type</em>
 of text document.  This implementation provides a default
 implementation which treats text as styled text and 
 provides a minimal set of actions for editing styled text.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#javax.swing.text.StyledEditorKit">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/StyledEditorKit.AlignmentAction.html">StyledEditorKit.AlignmentAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to set paragraph alignment.</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/StyledEditorKit.BoldAction.html">StyledEditorKit.BoldAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to toggle the bold attribute.</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/StyledEditorKit.FontFamilyAction.html">StyledEditorKit.FontFamilyAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to set the font family in the associated
 JEditorPane.</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/StyledEditorKit.FontSizeAction.html">StyledEditorKit.FontSizeAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to set the font size in the associated
 JEditorPane.</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/StyledEditorKit.ForegroundAction.html">StyledEditorKit.ForegroundAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to set foreground color.</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/StyledEditorKit.ItalicAction.html">StyledEditorKit.ItalicAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to toggle the italic attribute.</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/StyledEditorKit.StyledTextAction.html">StyledEditorKit.StyledTextAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action that assumes it's being fired on a JEditorPane
 with a StyledEditorKit (or subclass) installed.</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/StyledEditorKit.UnderlineAction.html">StyledEditorKit.UnderlineAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An action to toggle the underline attribute.</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="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/StyledEditorKit.html#StyledEditorKit()">StyledEditorKit</A></B>()</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;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyledEditorKit.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/StyledEditorKit.html#createDefaultDocument()">createDefaultDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates 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/StyledEditorKit.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/StyledEditorKit.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/StyledEditorKit.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;<A HREF="../../../javax/swing/text/Element.html">Element</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyledEditorKit.html#getCharacterAttributeRun()">getCharacterAttributeRun</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the element representing the current
 run of character attributes for the caret.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/swing/text/MutableAttributeSet.html">MutableAttributeSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyledEditorKit.html#getInputAttributes()">getInputAttributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the input attributes for the pane.</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/StyledEditorKit.html#getViewFactory()">getViewFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches 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/StyledEditorKit.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
 a JEditorPane.</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#getContentType()">getContentType</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#read(java.io.Reader, 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>, 
<A HREF="../../../javax/swing/text/DefaultEditorKit.html#write(java.io.Writer, 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 =========== -->


<!-- ========= 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="StyledEditorKit()"><!-- --></A><H3>
StyledEditorKit</H3>
<PRE>
public <B>StyledEditorKit</B>()</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="getInputAttributes()"><!-- --></A><H3>
getInputAttributes</H3>
<PRE>
public <A HREF="../../../javax/swing/text/MutableAttributeSet.html">MutableAttributeSet</A> <B>getInputAttributes</B>()</PRE>
<DL>
<DD>Gets the input attributes for the pane.  When
 the caret moves and there is no selection, the
 input attributes are automatically mutated to 
 reflect the character attributes of the current
 caret location.  The styled editing actions 
 use the input attributes to carry out their 
 actions.<DD><DL>
<DT><B>Returns:</B><DD>the attribute set</DL>
</DD>
</DL>
<HR>

<A NAME="getCharacterAttributeRun()"><!-- --></A><H3>
getCharacterAttributeRun</H3>
<PRE>
public <A HREF="../../../javax/swing/text/Element.html">Element</A> <B>getCharacterAttributeRun</B>()</PRE>
<DL>
<DD>Fetches the element representing the current
 run of character attributes for the caret.<DD><DL>
<DT><B>Returns:</B><DD>the element</DL>
</DD>
</DL>
<HR>

<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/DefaultEditorKit.html#clone()">clone</A> in class <A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</A></DL>
</DD>
</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/DefaultEditorKit.html#getActions()">getActions</A> in class <A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</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>Creates 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/DefaultEditorKit.html#createDefaultDocument()">createDefaultDocument</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
 a JEditorPane.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the JEditorPane<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/EditorKit.html#install(javax.swing.JEditorPane)">install</A> in class <A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</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/EditorKit.html#deinstall(javax.swing.JEditorPane)">deinstall</A> in class <A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</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>Fetches a factory that is suitable for producing 
 views of any models that are produced by this
 kit.  This is implemented to return View implementations
 for the following kinds of elements:
 <ul>
 <li>AbstractDocument.ContentElementName
 <li>AbstractDocument.ParagraphElementName
 <li>AbstractDocument.SectionElementName
 <li>StyleConstants.ComponentElementName
 <li>StyleConstants.IconElementName
 </ul><DD><DL>
<DT><B>Returns:</B><DD>the factory<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/DefaultEditorKit.html#getViewFactory()">getViewFactory</A> in class <A HREF="../../../javax/swing/text/DefaultEditorKit.html">DefaultEditorKit</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.</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/StyledEditorKit.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/StyleContext.SmallAttributeSet.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/StyledEditorKit.AlignmentAction.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="StyledEditorKit.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="#fields_inherited_from_class_javax.swing.text.DefaultEditorKit">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;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>
