新聞中心
這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSCompositeEvent
CompositeEvent

java.lang.Object
|---ohos.multimodalinput.event.MultimodalEvent
|---|---ohos.multimodalinput.event.CompositeEvent
public abstract class CompositeEvent
extends MultimodalEvent定義特定于常見設(shè)備的復(fù)合事件。
輸入設(shè)備的一個(gè)例子可以是鼠標(biāo)。 對(duì)于鼠標(biāo),MouseEvent 分為兩種類型:KeyEvent 和 ManipulationEvent。 使用 CompositeEvent,您可以將所有鼠標(biāo)事件組合成一個(gè)復(fù)合事件,使事件處理更容易。
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 |
構(gòu)造函數(shù)摘要
| 構(gòu)造函數(shù) | 描述 |
|---|---|
| CompositeEvent() |
方法總結(jié)
| 從類 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 |
構(gòu)造函數(shù)詳細(xì)信息
CompositeEvent
public CompositeEvent()
標(biāo)題名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSCompositeEvent
轉(zhuǎn)載來源:http://m.5511xx.com/article/cdpcisj.html


咨詢
建站咨詢
