InsertGesture 类

定义

用于在定义的插入点插入文本的子类 HandwritingGesture

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

注解

用于在定义的插入点插入文本的子类 HandwritingGesture 。 此类包含在工具包小组件(例如 TextView)中插入文本所需的信息。

Java文档android.view.inputmethod.InsertGesture

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

字段

名称 说明
GranularityCharacter
已过时.

按字符按文本操作。

(继承自 HandwritingGesture)
GranularityWord
已过时.

按单词操作文本。

(继承自 HandwritingGesture)

属性

名称 说明
Class

返回此 Object的运行时类。

(继承自 Object)
Creator

用于在定义的插入点插入文本的子类 HandwritingGesture

FallbackText

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

(继承自 HandwritingGesture)
Handle

基础 Android 实例的句柄。

(继承自 Object)
InsertionPoint

返回插入点 PointF (以屏幕坐标为单位),其中 #getTextToInsert() 将插入。

JniIdentityHashCode

用于在定义的插入点插入文本的子类 HandwritingGesture

(继承自 Object)
JniPeerMembers

用于在定义的插入点插入文本的子类 HandwritingGesture

PeerReference

用于在定义的插入点插入文本的子类 HandwritingGesture

(继承自 Object)
TextToInsert

返回将在 .. 处 #getInsertionPoint()插入的文本。

ThresholdClass

用于在定义的插入点插入文本的子类 HandwritingGesture

(继承自 HandwritingGesture)
ThresholdType

用于在定义的插入点插入文本的子类 HandwritingGesture

(继承自 HandwritingGesture)

方法

名称 说明
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端有效。

适用于