<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:21 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JTextComponent.AccessibleJTextComponent
</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/JTextComponent.AccessibleJTextComponent.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/JTextComponent.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/JTextComponent.KeyBinding.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="JTextComponent.AccessibleJTextComponent.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_classes_inherited_from_class_javax.swing.JComponent.AccessibleJComponent">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JComponent.AccessibleJComponent">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  JTextComponent.AccessibleJTextComponent</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../javax/accessibility/AccessibleContext.html">javax.accessibility.AccessibleContext</A>
        |
        +--<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">javax.swing.JComponent.AccessibleJComponent</A>
              |
              +--<B>javax.swing.text.JTextComponent.AccessibleJTextComponent</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../javax/swing/JEditorPane.AccessibleJEditorPane.html">JEditorPane.AccessibleJEditorPane</A>, <A HREF="../../../javax/swing/JTextArea.AccessibleJTextArea.html">JTextArea.AccessibleJTextArea</A>, <A HREF="../../../javax/swing/JTextField.AccessibleJTextField.html">JTextField.AccessibleJTextField</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>JTextComponent.AccessibleJTextComponent</B><DT>extends <A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A><DT>implements <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A>, <A HREF="../../../javax/swing/event/CaretListener.html">CaretListener</A>, <A HREF="../../../javax/swing/event/DocumentListener.html">DocumentListener</A></DL>

<P>
Accessibility implementation for JTextComponent.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../serialized-form.html#javax.swing.text.JTextComponent.AccessibleJTextComponent">Serialized Form</A></DL>
<HR>

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

<A NAME="inner_classes_inherited_from_class_javax.swing.JComponent.AccessibleJComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.AccessibleContainerHandler.html">JComponent.AccessibleJComponent.AccessibleContainerHandler</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_javax.swing.JComponent.AccessibleJComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#accessibleContainerHandler">accessibleContainerHandler</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.accessibility.AccessibleContext"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.accessibility.<A HREF="../../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY">ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_CARET_PROPERTY">ACCESSIBLE_CARET_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_CHILD_PROPERTY">ACCESSIBLE_CHILD_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_DESCRIPTION_PROPERTY">ACCESSIBLE_DESCRIPTION_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_NAME_PROPERTY">ACCESSIBLE_NAME_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_SELECTION_PROPERTY">ACCESSIBLE_SELECTION_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_STATE_PROPERTY">ACCESSIBLE_STATE_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_TEXT_PROPERTY">ACCESSIBLE_TEXT_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_VALUE_PROPERTY">ACCESSIBLE_VALUE_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#ACCESSIBLE_VISIBLE_DATA_PROPERTY">ACCESSIBLE_VISIBLE_DATA_PROPERTY</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#accessibleDescription">accessibleDescription</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#accessibleName">accessibleName</A>,  
<A HREF="../../../javax/accessibility/AccessibleContext.html#accessibleParent">accessibleParent</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/JTextComponent.AccessibleJTextComponent.html#JTextComponent.AccessibleJTextComponent(javax.swing.text.JTextComponent)">JTextComponent.AccessibleJTextComponent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AccessibleJTextComponent.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles caret updates (fire appropriate property change event,
 which are AccessibleContext.ACCESSIBLE_CARET_PROPERTY and
 AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY).</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/JTextComponent.AccessibleJTextComponent.html#changedUpdate(javax.swing.event.DocumentEvent)">changedUpdate</A></B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles document remove (fire appropriate property change event,
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/accessibility/AccessibleRole.html">AccessibleRole</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getAccessibleRole()">getAccessibleRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the role of this object.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/accessibility/AccessibleStateSet.html">AccessibleStateSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getAccessibleStateSet()">getAccessibleStateSet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the state set of the JTextComponent.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getAccessibleText()">getAccessibleText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the AccessibleText interface associated with this object.</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/JTextComponent.AccessibleJTextComponent.html#getAfterIndex(int, int)">getAfterIndex</A></B>(int&nbsp;part,
              int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the String after a given index.</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/JTextComponent.AccessibleJTextComponent.html#getAtIndex(int, int)">getAtIndex</A></B>(int&nbsp;part,
           int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the String at a given index.</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/JTextComponent.AccessibleJTextComponent.html#getBeforeIndex(int, int)">getBeforeIndex</A></B>(int&nbsp;part,
               int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the String before a given index.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getCaretPosition()">getCaretPosition</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the zero-based offset of 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/AttributeSet.html">AttributeSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getCharacterAttribute(int)">getCharacterAttribute</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the AttributeSet for a given character (at a given index).</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getCharacterBounds(int)">getCharacterBounds</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the bounding box of the character at the given
 index into the string.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getCharCount()">getCharCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of characters (valid indicies)</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getIndexAtPoint(java.awt.Point)">getIndexAtPoint</A></B>(java.awt.Point&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given a point in local coordinates, return the zero-based index
 of the character under that Point.</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/JTextComponent.AccessibleJTextComponent.html#getSelectedText()">getSelectedText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the portion of the text that is selected.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getSelectionEnd()">getSelectionEnd</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end offset within the selected text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html#getSelectionStart()">getSelectionStart</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start offset within the selected text.</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/JTextComponent.AccessibleJTextComponent.html#insertUpdate(javax.swing.event.DocumentEvent)">insertUpdate</A></B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles document insert (fire appropriate property change event
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).</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/JTextComponent.AccessibleJTextComponent.html#removeUpdate(javax.swing.event.DocumentEvent)">removeUpdate</A></B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles document remove (fire appropriate property change event,
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent.AccessibleJComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#addFocusListener(java.awt.event.FocusListener)">addFocusListener</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#contains(java.awt.Point)">contains</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleAt(java.awt.Point)">getAccessibleAt</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleChild(int)">getAccessibleChild</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleChildrenCount()">getAccessibleChildrenCount</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleComponent()">getAccessibleComponent</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleDescription()">getAccessibleDescription</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleIndexInParent()">getAccessibleIndexInParent</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleName()">getAccessibleName</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleParent()">getAccessibleParent</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getBackground()">getBackground</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getBorderTitle(javax.swing.border.Border)">getBorderTitle</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getBounds()">getBounds</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getCursor()">getCursor</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getFont()">getFont</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getFontMetrics(java.awt.Font)">getFontMetrics</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getForeground()">getForeground</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getLocale()">getLocale</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getLocation()">getLocation</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getLocationOnScreen()">getLocationOnScreen</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getSize()">getSize</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#isEnabled()">isEnabled</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#isFocusTraversable()">isFocusTraversable</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#isShowing()">isShowing</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#isVisible()">isVisible</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#removeFocusListener(java.awt.event.FocusListener)">removeFocusListener</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#requestFocus()">requestFocus</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setBackground(java.awt.Color)">setBackground</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setBounds(java.awt.Rectangle)">setBounds</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setCursor(java.awt.Cursor)">setCursor</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setEnabled(boolean)">setEnabled</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setFont(java.awt.Font)">setFont</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setForeground(java.awt.Color)">setForeground</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setLocation(java.awt.Point)">setLocation</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setSize(java.awt.Dimension)">setSize</A>, 
<A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#setVisible(boolean)">setVisible</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.accessibility.AccessibleContext"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.accessibility.<A HREF="../../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/accessibility/AccessibleContext.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#getAccessibleAction()">getAccessibleAction</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#getAccessibleSelection()">getAccessibleSelection</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#getAccessibleValue()">getAccessibleValue</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#setAccessibleDescription(java.lang.String)">setAccessibleDescription</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#setAccessibleName(java.lang.String)">setAccessibleName</A>, 
<A HREF="../../../javax/accessibility/AccessibleContext.html#setAccessibleParent(javax.accessibility.Accessible)">setAccessibleParent</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="JTextComponent.AccessibleJTextComponent(javax.swing.text.JTextComponent)"><!-- --></A><H3>
JTextComponent.AccessibleJTextComponent</H3>
<PRE>
public <B>JTextComponent.AccessibleJTextComponent</B>()</PRE>
<DL>
<DD>Constructs an AccessibleJTextComponent.  Adds a listener to track
 caret change.</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="caretUpdate(javax.swing.event.CaretEvent)"><!-- --></A><H3>
caretUpdate</H3>
<PRE>
public void <B>caretUpdate</B>(<A HREF="../../../javax/swing/event/CaretEvent.html">CaretEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Handles caret updates (fire appropriate property change event,
 which are AccessibleContext.ACCESSIBLE_CARET_PROPERTY and
 AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY).
 This keeps track of the dot position internally.  When the caret
 moves, the internal position is updated after firing the event.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/event/CaretListener.html#caretUpdate(javax.swing.event.CaretEvent)">caretUpdate</A> in interface <A HREF="../../../javax/swing/event/CaretListener.html">CaretListener</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - the CaretEvent</DL>
</DD>
</DL>
<HR>

<A NAME="insertUpdate(javax.swing.event.DocumentEvent)"><!-- --></A><H3>
insertUpdate</H3>
<PRE>
public void <B>insertUpdate</B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Handles document insert (fire appropriate property change event
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 This tracks the dot via the event.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/event/DocumentListener.html#insertUpdate(javax.swing.event.DocumentEvent)">insertUpdate</A> in interface <A HREF="../../../javax/swing/event/DocumentListener.html">DocumentListener</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - the DocumentEvent</DL>
</DD>
</DL>
<HR>

<A NAME="removeUpdate(javax.swing.event.DocumentEvent)"><!-- --></A><H3>
removeUpdate</H3>
<PRE>
public void <B>removeUpdate</B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Handles document remove (fire appropriate property change event,
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 This tracks the dot via the event.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/event/DocumentListener.html#removeUpdate(javax.swing.event.DocumentEvent)">removeUpdate</A> in interface <A HREF="../../../javax/swing/event/DocumentListener.html">DocumentListener</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - the DocumentEvent</DL>
</DD>
</DL>
<HR>

<A NAME="changedUpdate(javax.swing.event.DocumentEvent)"><!-- --></A><H3>
changedUpdate</H3>
<PRE>
public void <B>changedUpdate</B>(<A HREF="../../../javax/swing/event/DocumentEvent.html">DocumentEvent</A>&nbsp;e)</PRE>
<DL>
<DD>Handles document remove (fire appropriate property change event,
 which is AccessibleContext.ACCESSIBLE_TEXT_PROPERTY).
 This tracks the dot via the event.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/event/DocumentListener.html#changedUpdate(javax.swing.event.DocumentEvent)">changedUpdate</A> in interface <A HREF="../../../javax/swing/event/DocumentListener.html">DocumentListener</A><DT><B>Parameters:</B><DD><CODE>e</CODE> - the DocumentEvent</DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleStateSet()"><!-- --></A><H3>
getAccessibleStateSet</H3>
<PRE>
public <A HREF="../../../javax/accessibility/AccessibleStateSet.html">AccessibleStateSet</A> <B>getAccessibleStateSet</B>()</PRE>
<DL>
<DD>Gets the state set of the JTextComponent.  
 The AccessibleStateSet of an object is composed of a set of 
 unique AccessibleState's.  A change in the AccessibleStateSet 
 of an object will cause a PropertyChangeEvent to be fired
 for the AccessibleContext.ACCESSIBLE_STATE_PROPERTY property.<DD><DL>
<DT><B>Returns:</B><DD>an instance of AccessibleStateSet containing the
 current state set of the object<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleStateSet()">getAccessibleStateSet</A> in class <A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A><DT><B>See Also: </B><DD><A HREF="../../../javax/accessibility/AccessibleStateSet.html"><CODE>AccessibleStateSet</CODE></A>, 
<A HREF="../../../javax/accessibility/AccessibleState.html"><CODE>AccessibleState</CODE></A>, 
<A HREF="../../../javax/swing/JComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)"><CODE>JComponent.addPropertyChangeListener(java.beans.PropertyChangeListener)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleRole()"><!-- --></A><H3>
getAccessibleRole</H3>
<PRE>
public <A HREF="../../../javax/accessibility/AccessibleRole.html">AccessibleRole</A> <B>getAccessibleRole</B>()</PRE>
<DL>
<DD>Gets the role of this object.<DD><DL>
<DT><B>Returns:</B><DD>an instance of AccessibleRole describing the role of the 
 object (AccessibleRole.TEXT)<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html#getAccessibleRole()">getAccessibleRole</A> in class <A HREF="../../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A><DT><B>See Also: </B><DD><A HREF="../../../javax/accessibility/AccessibleRole.html"><CODE>AccessibleRole</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleText()"><!-- --></A><H3>
getAccessibleText</H3>
<PRE>
public <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A> <B>getAccessibleText</B>()</PRE>
<DL>
<DD>Gets the AccessibleText interface associated with this object.<DD><DL>
<DT><B>Returns:</B><DD>an instance of AccessibleText<DT><B>Overrides:</B><DD><A HREF="../../../javax/accessibility/AccessibleContext.html#getAccessibleText()">getAccessibleText</A> in class <A HREF="../../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></DL>
</DD>
</DL>
<HR>

<A NAME="getIndexAtPoint(java.awt.Point)"><!-- --></A><H3>
getIndexAtPoint</H3>
<PRE>
public int <B>getIndexAtPoint</B>(java.awt.Point&nbsp;p)</PRE>
<DL>
<DD>Given a point in local coordinates, return the zero-based index
 of the character under that Point.  If the point is invalid,
 this method returns -1.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getIndexAtPoint(java.awt.Point)">getIndexAtPoint</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>p</CODE> - the Point in local coordinates<DT><B>Returns:</B><DD>the zero-based index of the character under Point p.</DL>
</DD>
</DL>
<HR>

<A NAME="getCharacterBounds(int)"><!-- --></A><H3>
getCharacterBounds</H3>
<PRE>
public java.awt.Rectangle <B>getCharacterBounds</B>(int&nbsp;i)</PRE>
<DL>
<DD>Determines the bounding box of the character at the given
 index into the string.  The bounds are returned in local
 coordinates.  If the index is invalid a null rectangle
 is returned.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getCharacterBounds(int)">getCharacterBounds</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>i</CODE> - the index into the String >= 0<DT><B>Returns:</B><DD>the screen coordinates of the character's bounding box</DL>
</DD>
</DL>
<HR>

<A NAME="getCharCount()"><!-- --></A><H3>
getCharCount</H3>
<PRE>
public int <B>getCharCount</B>()</PRE>
<DL>
<DD>Returns the number of characters (valid indicies)<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getCharCount()">getCharCount</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Returns:</B><DD>the number of characters >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="getCaretPosition()"><!-- --></A><H3>
getCaretPosition</H3>
<PRE>
public int <B>getCaretPosition</B>()</PRE>
<DL>
<DD>Returns the zero-based offset of the caret.

 Note: The character to the right of the caret will have the
 same index value as the offset (the caret is between
 two characters).<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getCaretPosition()">getCaretPosition</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Returns:</B><DD>the zero-based offset of the caret.</DL>
</DD>
</DL>
<HR>

<A NAME="getCharacterAttribute(int)"><!-- --></A><H3>
getCharacterAttribute</H3>
<PRE>
public <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> <B>getCharacterAttribute</B>(int&nbsp;i)</PRE>
<DL>
<DD>Returns the AttributeSet for a given character (at a given index).<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getCharacterAttribute(int)">getCharacterAttribute</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>i</CODE> - the zero-based index into the text<DT><B>Returns:</B><DD>the AttributeSet of the character</DL>
</DD>
</DL>
<HR>

<A NAME="getSelectionStart()"><!-- --></A><H3>
getSelectionStart</H3>
<PRE>
public int <B>getSelectionStart</B>()</PRE>
<DL>
<DD>Returns the start offset within the selected text.
 If there is no selection, but there is
 a caret, the start and end offsets will be the same.
 Return 0 if the text is empty, or the caret position
 if no selection.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getSelectionStart()">getSelectionStart</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Returns:</B><DD>the index into the text of the start of the selection >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="getSelectionEnd()"><!-- --></A><H3>
getSelectionEnd</H3>
<PRE>
public int <B>getSelectionEnd</B>()</PRE>
<DL>
<DD>Returns the end offset within the selected text.
 If there is no selection, but there is
 a caret, the start and end offsets will be the same.
 Return 0 if the text is empty, or the caret position
 if no selection.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getSelectionEnd()">getSelectionEnd</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Returns:</B><DD>the index into teh text of the end of the selection >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="getSelectedText()"><!-- --></A><H3>
getSelectedText</H3>
<PRE>
public java.lang.String <B>getSelectedText</B>()</PRE>
<DL>
<DD>Returns the portion of the text that is selected.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getSelectedText()">getSelectedText</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Returns:</B><DD>the text, null if no selection</DL>
</DD>
</DL>
<HR>

<A NAME="getAtIndex(int, int)"><!-- --></A><H3>
getAtIndex</H3>
<PRE>
public java.lang.String <B>getAtIndex</B>(int&nbsp;part,
                                   int&nbsp;index)</PRE>
<DL>
<DD>Returns the String at a given index.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getAtIndex(int, int)">getAtIndex</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>part</CODE> - the AccessibleText.CHARACTER, AccessibleText.WORD,
 or AccessibleText.SENTENCE to retrieve<DD><CODE>index</CODE> - an index within the text >= 0<DT><B>Returns:</B><DD>the letter, word, or sentence,
   null for an invalid index or part</DL>
</DD>
</DL>
<HR>

<A NAME="getAfterIndex(int, int)"><!-- --></A><H3>
getAfterIndex</H3>
<PRE>
public java.lang.String <B>getAfterIndex</B>(int&nbsp;part,
                                      int&nbsp;index)</PRE>
<DL>
<DD>Returns the String after a given index.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getAfterIndex(int, int)">getAfterIndex</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>part</CODE> - the AccessibleText.CHARACTER, AccessibleText.WORD,
 or AccessibleText.SENTENCE to retrieve<DD><CODE>index</CODE> - an index within the text >= 0<DT><B>Returns:</B><DD>the letter, word, or sentence, null for an invalid
  index or part</DL>
</DD>
</DL>
<HR>

<A NAME="getBeforeIndex(int, int)"><!-- --></A><H3>
getBeforeIndex</H3>
<PRE>
public java.lang.String <B>getBeforeIndex</B>(int&nbsp;part,
                                       int&nbsp;index)</PRE>
<DL>
<DD>Returns the String before a given index.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/accessibility/AccessibleText.html#getBeforeIndex(int, int)">getBeforeIndex</A> in interface <A HREF="../../../javax/accessibility/AccessibleText.html">AccessibleText</A><DT><B>Parameters:</B><DD><CODE>part</CODE> - the AccessibleText.CHARACTER, AccessibleText.WORD,
   or AccessibleText.SENTENCE to retrieve<DD><CODE>index</CODE> - an index within the text >= 0<DT><B>Returns:</B><DD>the letter, word, or sentence, null for an invalid index
  or part</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/JTextComponent.AccessibleJTextComponent.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/JTextComponent.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/JTextComponent.KeyBinding.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="JTextComponent.AccessibleJTextComponent.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_classes_inherited_from_class_javax.swing.JComponent.AccessibleJComponent">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JComponent.AccessibleJComponent">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>
