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 |
public CompositeEvent()
FileReaderjava.lang.Object |---java.io.Reader |---|---java.io.InputStreamReader |---|---|---java.io.FileReaderpublic cla...
OutputStreamjava.lang.Object |---java.io.OutputStreampublic abstract class OutputStreamextends Objectimplements Closeabl...
PushbackInputStreamjava.lang.Object |---java.io.InputStream |---|---java.io.FilterInputStream |---|---|---java.io.Pushba...
javascriptwxss微信小程序运行在三端:iOS、Android 和 用于调试的开发者工具。三端的脚本执行环境聚以及用于渲染非原生组件的环...
Collection.doc(id: string):Document支持端:小程序,云函数,Web获取集合中指定记录的引用。方法接受一个 id 参数,指定需引用的...