Share via


SelectGesture 类

定义

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

[Android.Runtime.Register("android/view/inputmethod/SelectGesture", ApiSince=34, DoNotGenerateAcw=true)]
public sealed class SelectGesture : Android.Views.InputMethods.PreviewableHandwritingGesture, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/inputmethod/SelectGesture", ApiSince=34, DoNotGenerateAcw=true)>]
type SelectGesture = class
    inherit PreviewableHandwritingGesture
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
继承
属性
实现

注解

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。 此类保存在工具包小组件(如 ) TextView中选择文本所需的信息。

注意:这将选择给定区域内的所有文本<。<>> 若要选择两个区域之间的<>范围<>,请使用 SelectRangeGesture

android.view.inputmethod.SelectGestureJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

字段

GranularityCharacter
已过时.

基于每个字符的文本进行操作。

(继承自 HandwritingGesture)
GranularityWord
已过时.

按单词操作文本。

(继承自 HandwritingGesture)

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Creator

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

FallbackText

如果手势区域下方没有适用的文本,将在当前光标位置提交回退文本。

(继承自 HandwritingGesture)
Granularity

返回应在其上操作文本的粒度级别。

Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
JniPeerMembers

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

PeerReference

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
SelectionArea

以屏幕坐标返回“选择”区域 RectF

ThresholdClass

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 PreviewableHandwritingGesture)
ThresholdType

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 PreviewableHandwritingGesture)

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
DescribeContents()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

Dispose()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
Dispose(Boolean)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
Equals(Object)

指示其他某个对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
Wait()

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

用于将此对象打包到 中 Parcel

显式接口实现

IJavaPeerable.Disposed()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.Finalized()

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

GetJniTypeName(IJavaPeerable)

的子类 HandwritingGesture ,用于使用单个矩形选择文本区域。

适用于