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

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

Java文档android.view.inputmethod.SelectGesture

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

字段

名称 说明
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, Int32)

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

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <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)

扩展方法

名称 说明
GetJniTypeName(IJavaPeerable)

获取实例 self类型的 JNI 名称。

JavaAs<TResult>(IJavaPeerable)

尝试强制self键入TResult,检查强制是否在Java端有效。

JavaCast<TResult>(IJavaObject)

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

JavaCast<TResult>(IJavaObject)

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

TryJavaCast<TResult>(IJavaPeerable, TResult)

尝试强制self键入TResult,检查强制是否在Java端有效。

适用于