举报投诉联系我们 手机版 热门标签 名动网
您的位置:名动网 > 鸿蒙OS CompositeEvent

鸿蒙OS CompositeEvent

2023-05-30 13:20 鸿蒙OS开发文档

 鸿蒙OS CompositeEvent

CompositeEvent

java.lang.Object

|---ohos.multimodalinput.event.MultimodalEvent

|---|---ohos.multimodalinput.event.CompositeEvent

public abstract class CompositeEvent
extends MultimodalEvent

定义特定于常见设备的复合事件。

输入设备的一个例子可以是鼠标。 对于鼠标,MouseEvent 分为两种类型:KeyEvent 和 ManipulationEvent。 使用 CompositeEvent,您可以将所有鼠标事件组合成一个复合事件,使事件处理更容易。

Since:

3

嵌套类摘要

从接口 ohos.utils.Sequenceable 继承的嵌套类/接口
Sequenceable.ProducerT

字段摘要

从类 ohos.multimodalinput.event.MultimodalEvent 继承的字段
BUILTIN_KEY, DEFAULT_TYPE, highLevelEvent, KEYBOARD, MOUSE, ROTATION, SPEECH, STYLUS, TOUCH_PANEL, UNSUPPORTED_DEVICE, uuid

构造函数摘要

构造函数 描述
CompositeEvent()

方法总结

从类 ohos.multimodalinput.event.MultimodalEvent 继承的方法
getDeviceId, getInputDeviceId, getOccurredTime, getSourceDevice, getUuid, isSameEvent, marshalling, unmarshalling
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口 ohos.utils.Sequenceable 继承的方法
hasFileDescriptor

构造函数详细信息

CompositeEvent

public CompositeEvent()

阅读全文
以上是名动网为你收集整理的 鸿蒙OS CompositeEvent全部内容。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
相关文章
© 2024 名动网 mdwl.vip 版权所有 联系我们