<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:58:21 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  TextUI
</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/TextUI.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/plaf/TableUI.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/plaf/ToolBarUI.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="TextUI.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing.plaf</FONT>
<BR>
Class  TextUI</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../javax/swing/plaf/ComponentUI.html">javax.swing.plaf.ComponentUI</A>
        |
        +--<B>javax.swing.plaf.TextUI</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/swing/plaf/basic/BasicTextUI.html">BasicTextUI</A>, <A HREF="../../../javax/swing/plaf/multi/MultiTextUI.html">MultiTextUI</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>TextUI</B><DT>extends <A HREF="../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></DL>

<P>
Text editor user interface
<P>
<HR>

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


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


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

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#TextUI()">TextUI</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>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#damageRange(javax.swing.text.JTextComponent, int, int)">damageRange</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            int&nbsp;p0,
            int&nbsp;p1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes the portion of the view responsible for the
 given part of the model to be repainted.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#damageRange(javax.swing.text.JTextComponent, int, int, javax.swing.text.Position.Bias, javax.swing.text.Position.Bias)">damageRange</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            int&nbsp;p0,
            int&nbsp;p1,
            <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;firstBias,
            <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;secondBias)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes the portion of the view responsible for the 
 given part of the model to be repainted.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#getEditorKit(javax.swing.text.JTextComponent)">getEditorKit</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the binding of services that set a policy
 for the type of document being edited.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#getNextVisualPositionFrom(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias[])">getNextVisualPositionFrom</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                          int&nbsp;pos,
                          <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b,
                          int&nbsp;direction,
                          <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasRet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a way to determine the next visually represented model 
 location that one might place a caret.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../javax/swing/text/View.html">View</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#getRootView(javax.swing.text.JTextComponent)">getRootView</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches a View with the allocation of the associated
 text component (i.e.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#modelToView(javax.swing.text.JTextComponent, int)">modelToView</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given location in the model to a place in
 the view coordinate system.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#modelToView(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias)">modelToView</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            int&nbsp;pos,
            <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;bias)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given location in the model to a place in
 the view coordinate system.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#viewToModel(javax.swing.text.JTextComponent, java.awt.Point)">viewToModel</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            java.awt.Point&nbsp;pt)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given place in the view coordinate system
 to the nearest representative location in the model.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/plaf/TextUI.html#viewToModel(javax.swing.text.JTextComponent, java.awt.Point, javax.swing.text.Position.Bias[])">viewToModel</A></B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
            java.awt.Point&nbsp;pt,
            <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasReturn)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the view coordinate space to the logical
 coordinate space of the model.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.plaf.ComponentUI"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.plaf.<A HREF="../../../javax/swing/plaf/ComponentUI.html">ComponentUI</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/plaf/ComponentUI.html#contains(javax.swing.JComponent, int, int)">contains</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#createUI(javax.swing.JComponent)">createUI</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild(javax.swing.JComponent, int)">getAccessibleChild</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#getAccessibleChildrenCount(javax.swing.JComponent)">getAccessibleChildrenCount</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#getMaximumSize(javax.swing.JComponent)">getMaximumSize</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#getMinimumSize(javax.swing.JComponent)">getMinimumSize</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#getPreferredSize(javax.swing.JComponent)">getPreferredSize</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#installUI(javax.swing.JComponent)">installUI</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#paint(java.awt.Graphics, javax.swing.JComponent)">paint</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#uninstallUI(javax.swing.JComponent)">uninstallUI</A>, 
<A HREF="../../../javax/swing/plaf/ComponentUI.html#update(java.awt.Graphics, javax.swing.JComponent)">update</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
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="TextUI()"><!-- --></A><H3>
TextUI</H3>
<PRE>
public <B>TextUI</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="modelToView(javax.swing.text.JTextComponent, int)"><!-- --></A><H3>
modelToView</H3>
<PRE>
public abstract java.awt.Rectangle <B>modelToView</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                               int&nbsp;pos)
                                        throws <A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Converts the given location in the model to a place in
 the view coordinate system.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the local location in the model to translate >= 0<DT><B>Returns:</B><DD>the coordinates as a rectangle<DT><B>Throws:</B><DD><A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A> - if the given position does not
   represent a valid location in the associated document</DL>
</DD>
</DL>
<HR>

<A NAME="modelToView(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias)"><!-- --></A><H3>
modelToView</H3>
<PRE>
public abstract java.awt.Rectangle <B>modelToView</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                               int&nbsp;pos,
                                               <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;bias)
                                        throws <A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Converts the given location in the model to a place in
 the view coordinate system.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the local location in the model to translate >= 0<DT><B>Returns:</B><DD>the coordinates as a rectangle<DT><B>Throws:</B><DD><A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A> - if the given position does not
   represent a valid location in the associated document</DL>
</DD>
</DL>
<HR>

<A NAME="viewToModel(javax.swing.text.JTextComponent, java.awt.Point)"><!-- --></A><H3>
viewToModel</H3>
<PRE>
public abstract int <B>viewToModel</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                java.awt.Point&nbsp;pt)</PRE>
<DL>
<DD>Converts the given place in the view coordinate system
 to the nearest representative location in the model.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pt</CODE> - the location in the view to translate.  This
   should be in the same coordinate system as the mouse
   events.</DL>
</DD>
</DL>
<HR>

<A NAME="viewToModel(javax.swing.text.JTextComponent, java.awt.Point, javax.swing.text.Position.Bias[])"><!-- --></A><H3>
viewToModel</H3>
<PRE>
public abstract int <B>viewToModel</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                java.awt.Point&nbsp;pt,
                                <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasReturn)</PRE>
<DL>
<DD>Provides a mapping from the view coordinate space to the logical
 coordinate space of the model.  The biasReturn argument will be
 filled in to indicate that the point given is closer to the next
 character in the model or the previous character in the model.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the X coordinate >= 0<DD><CODE>y</CODE> - the Y coordinate >= 0<DD><CODE>a</CODE> - the allocated region to render into<DT><B>Returns:</B><DD>the location within the model that best represents the
  given point in the view >= 0.  The biasReturn argument will be
 filled in to indicate that the point given is closer to the next
 character in the model or the previous character in the model.</DL>
</DD>
</DL>
<HR>

<A NAME="getNextVisualPositionFrom(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias[])"><!-- --></A><H3>
getNextVisualPositionFrom</H3>
<PRE>
public abstract int <B>getNextVisualPositionFrom</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                              int&nbsp;pos,
                                              <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b,
                                              int&nbsp;direction,
                                              <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasRet)
                                       throws <A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Provides a way to determine the next visually represented model 
 location that one might place a caret.  Some views may not be visible,
 they might not be in the same order found in the model, or they just
 might not allow access to some of the locations in the model.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the position to convert >= 0<DD><CODE>a</CODE> - the allocated region to render into<DD><CODE>direction</CODE> - the direction from the current position that can
  be thought of as the arrow keys typically found on a keyboard.
  This may be SwingConstants.WEST, SwingConstants.EAST, 
  SwingConstants.NORTH, or SwingConstants.SOUTH.<DT><B>Returns:</B><DD>the location within the model that best represents the next
  location visual position.<DT><B>Throws:</B><DD><A HREF="../../../javax/swing/text/BadLocationException.html">BadLocationException</A> - &nbsp;<DD>java.lang.IllegalArgumentException - for an invalid direction</DL>
</DD>
</DL>
<HR>

<A NAME="damageRange(javax.swing.text.JTextComponent, int, int)"><!-- --></A><H3>
damageRange</H3>
<PRE>
public abstract void <B>damageRange</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                 int&nbsp;p0,
                                 int&nbsp;p1)</PRE>
<DL>
<DD>Causes the portion of the view responsible for the
 given part of the model to be repainted.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p0</CODE> - the beginning of the range >= 0<DD><CODE>p1</CODE> - the end of the range >= p0</DL>
</DD>
</DL>
<HR>

<A NAME="damageRange(javax.swing.text.JTextComponent, int, int, javax.swing.text.Position.Bias, javax.swing.text.Position.Bias)"><!-- --></A><H3>
damageRange</H3>
<PRE>
public abstract void <B>damageRange</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t,
                                 int&nbsp;p0,
                                 int&nbsp;p1,
                                 <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;firstBias,
                                 <A HREF="../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;secondBias)</PRE>
<DL>
<DD>Causes the portion of the view responsible for the 
 given part of the model to be repainted.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p0</CODE> - the beginning of the range >= 0<DD><CODE>p1</CODE> - the end of the range >= p0</DL>
</DD>
</DL>
<HR>

<A NAME="getEditorKit(javax.swing.text.JTextComponent)"><!-- --></A><H3>
getEditorKit</H3>
<PRE>
public abstract <A HREF="../../../javax/swing/text/EditorKit.html">EditorKit</A> <B>getEditorKit</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t)</PRE>
<DL>
<DD>Fetches the binding of services that set a policy
 for the type of document being edited.  This contains
 things like the commands available, stream readers and
 writers, etc.<DD><DL>
<DT><B>Returns:</B><DD>the editor kit binding</DL>
</DD>
</DL>
<HR>

<A NAME="getRootView(javax.swing.text.JTextComponent)"><!-- --></A><H3>
getRootView</H3>
<PRE>
public abstract <A HREF="../../../javax/swing/text/View.html">View</A> <B>getRootView</B>(<A HREF="../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;t)</PRE>
<DL>
<DD>Fetches a View with the allocation of the associated
 text component (i.e. the root of the hierarchy) that
 can be traversed to determine how the model is being
 represented spatially.<DD><DL>
<DT><B>Returns:</B><DD>the view</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/TextUI.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/plaf/TableUI.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/plaf/ToolBarUI.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="TextUI.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
