M7350/base/docs/html/sdk/api_diff/3/changes/android.widget.TextView.html

333 lines
16 KiB
HTML
Raw Normal View History

2024-09-09 08:52:07 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
<TITLE>
android.widget.TextView
</TITLE>
<link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
<noscript>
<style type="text/css">
body{overflow:auto;}
#body-content{position:relative; top:0;}
#doc-content{overflow:visible;border-left:3px solid #666;}
#side-nav{padding:0;}
#side-nav .toggle-list ul {display:block;}
#resize-packages-nav{border-bottom:3px solid #666;}
</style>
</noscript>
<style type="text/css">
</style>
</HEAD>
<BODY>
<!-- Start of nav bar -->
<a name="top"></a>
<div id="header" style="margin-bottom:0;padding-bottom:0;">
<div id="headerLeft">
<a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
</div>
<div id="headerRight">
<div id="headerLinks">
<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
<span class="text">
<!-- &nbsp;<a href="#">English</a> | -->
<nobr><a href="http://developer.android.com" target="_top">Android Developers</a> | <a href="http://www.android.com" target="_top">Android.com</a></nobr>
</span>
</div>
<div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
<table class="diffspectable">
<tr>
<td colspan="2" class="diffspechead">API Diff Specification</td>
</tr>
<tr>
<td class="diffspec" style="padding-top:.25em">To Level:</td>
<td class="diffvaluenew" style="padding-top:.25em">3</td>
</tr>
<tr>
<td class="diffspec">From Level:</td>
<td class="diffvalueold">2</td>
</tr>
<tr>
<td class="diffspec">Generated</td>
<td class="diffvalue">2009.11.19 19:35</td>
</tr>
</table>
</div><!-- End and-diff-id -->
<div class="and-diff-id" style="margin-right:8px;">
<table class="diffspectable">
<tr>
<td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
</tr>
</table>
</div> <!-- End and-diff-id -->
</div> <!-- End headerRight -->
</div> <!-- End header -->
<div id="body-content" xstyle="padding:12px;padding-right:18px;">
<div id="doc-content" style="position:relative;">
<div id="mainBodyFluid">
<H2>
Class android.widget.<A HREF="../../../../reference/android/widget/TextView.html" target="_top"><font size="+2"><code>TextView</code></font></A>
</H2>
<a NAME="constructors"></a>
<a NAME="methods"></a>
<p>
<a NAME="Added"></a>
<TABLE summary="Added Methods" WIDTH="100%">
<TR>
<TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
</TH>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.beginBatchEdit_added()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#beginBatchEdit()" target="_top"><code>beginBatchEdit</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.bringPointIntoView_added(int)"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#bringPointIntoView(int)" target="_top"><code>bringPointIntoView</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.clearComposingText_added()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#clearComposingText()" target="_top"><code>clearComposingText</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.didTouchFocusSelect_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#didTouchFocusSelect()" target="_top"><code>didTouchFocusSelect</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.endBatchEdit_added()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#endBatchEdit()" target="_top"><code>endBatchEdit</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.extractText_added(android.view.inputmethod.ExtractedTextRequest, android.view.inputmethod.ExtractedText)"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#extractText(android.view.inputmethod.ExtractedTextRequest, android.view.inputmethod.ExtractedText)" target="_top"><code>extractText</code></A>(<code>ExtractedTextRequest,</nobr> ExtractedText<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getEditableText_added()"></A>
<nobr><code>Editable</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getEditableText()" target="_top"><code>getEditableText</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getImeActionId_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getImeActionId()" target="_top"><code>getImeActionId</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getImeActionLabel_added()"></A>
<nobr><code>CharSequence</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getImeActionLabel()" target="_top"><code>getImeActionLabel</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getImeOptions_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getImeOptions()" target="_top"><code>getImeOptions</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getInputExtras_added(boolean)"></A>
<nobr><code>Bundle</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getInputExtras(boolean)" target="_top"><code>getInputExtras</code></A>(<code>boolean</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getInputType_added()"></A>
<nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getInputType()" target="_top"><code>getInputType</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.getPrivateImeOptions_added()"></A>
<nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#getPrivateImeOptions()" target="_top"><code>getPrivateImeOptions</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.isInputMethodTarget_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#isInputMethodTarget()" target="_top"><code>isInputMethodTarget</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.moveCursorToVisibleOffset_added()"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#moveCursorToVisibleOffset()" target="_top"><code>moveCursorToVisibleOffset</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onBeginBatchEdit_added()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onBeginBatchEdit()" target="_top"><code>onBeginBatchEdit</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onCommitCompletion_added(android.view.inputmethod.CompletionInfo)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onCommitCompletion(android.view.inputmethod.CompletionInfo)" target="_top"><code>onCommitCompletion</code></A>(<code>CompletionInfo</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onEditorAction_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onEditorAction(int)" target="_top"><code>onEditorAction</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onEndBatchEdit_added()"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onEndBatchEdit()" target="_top"><code>onEndBatchEdit</code></A>()</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onPrivateIMECommand_added(java.lang.String, android.os.Bundle)"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onPrivateIMECommand(java.lang.String, android.os.Bundle)" target="_top"><code>onPrivateIMECommand</code></A>(<code>String,</nobr> Bundle<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onSelectionChanged_added(int, int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onSelectionChanged(int, int)" target="_top"><code>onSelectionChanged</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.onTextContextMenuItem_added(int)"></A>
<nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#onTextContextMenuItem(int)" target="_top"><code>onTextContextMenuItem</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setCompoundDrawablesWithIntrinsicBounds_added(int, int, int, int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setCompoundDrawablesWithIntrinsicBounds(int, int, int, int)" target="_top"><code>setCompoundDrawablesWithIntrinsicBounds</code></A>(<code>int,</nobr> int<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setExtractedText_added(android.view.inputmethod.ExtractedText)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setExtractedText(android.view.inputmethod.ExtractedText)" target="_top"><code>setExtractedText</code></A>(<code>ExtractedText</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setImeActionLabel_added(java.lang.CharSequence, int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setImeActionLabel(java.lang.CharSequence, int)" target="_top"><code>setImeActionLabel</code></A>(<code>CharSequence,</nobr> int<nobr><nobr></code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setImeOptions_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setImeOptions(int)" target="_top"><code>setImeOptions</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setInputExtras_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setInputExtras(int)" target="_top"><code>setInputExtras</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setInputType_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setInputType(int)" target="_top"><code>setInputType</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setOnEditorActionListener_added(android.widget.TextView.OnEditorActionListener)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setOnEditorActionListener(android.widget.TextView.OnEditorActionListener)" target="_top"><code>setOnEditorActionListener</code></A>(<code>OnEditorActionListener</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setPrivateImeOptions_added(java.lang.String)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setPrivateImeOptions(java.lang.String)" target="_top"><code>setPrivateImeOptions</code></A>(<code>String</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
<TD VALIGN="TOP" WIDTH="25%">
<A NAME="android.widget.TextView.setRawInputType_added(int)"></A>
<nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/widget/TextView.html#setRawInputType(int)" target="_top"><code>setRawInputType</code></A>(<code>int</code>)</nobr>
</TD>
<TD>&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<a NAME="fields"></a>
</div>
<div id="footer">
<div id="copyright">
Except as noted, this content is licensed under
<a href="http://creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
For details and restrictions, see the <a href="/license.html">Content License</a>.
</div>
<div id="footerlinks">
<p>
<a href="http://www.android.com/terms.html">Site Terms of Service</a> -
<a href="http://www.android.com/privacy.html">Privacy Policy</a> -
<a href="http://www.android.com/branding.html">Brand Guidelines</a>
</p>
</div>
</div> <!-- end footer -->
</div><!-- end doc-content -->
</div> <!-- end body-content -->
<script src="http://www.google-analytics.com/ga.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-5831155-1");
pageTracker._setAllowAnchor(true);
pageTracker._initData();
pageTracker._trackPageview();
} catch(e) {}
</script>
</BODY>
</HTML>