创新互联鸿蒙OS教程:鸿蒙OSCompositeEvent

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教程:鸿蒙OSCompositeEvent
转载来于:http://www.hantingmc.com/qtweb/news43/416193.html

网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联