日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

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

StylusEvent

站在用戶的角度思考問題,與客戶深入溝通,找到三沙網(wǎng)站設(shè)計與三沙網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設(shè)計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:網(wǎng)站建設(shè)、做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣、域名注冊、雅安服務(wù)器托管、企業(yè)郵箱。業(yè)務(wù)覆蓋三沙地區(qū)。

java.lang.Object

|---ohos.multimodalinput.event.MultimodalEvent

|---|---ohos.multimodalinput.event.ManipulationEvent

|---|---|---ohos.multimodalinput.event.StylusEvent

public abstract class StylusEvent
extends ManipulationEvent

報告觸控筆事件。

報告的事件包含按鈕狀態(tài)更改和觸控筆操作(按下、滑動或抬起)等信息。 目前,一個事件僅支持一個觸控筆動作。

Since:

5

嵌套類摘要

從接口 ohos.utils.Sequenceable 繼承的嵌套類/接口
Sequenceable.ProducerT

字段摘要

修飾符和類型 字段 描述
static int BUTTON_PRESS 表示觸控筆按下按鈕。
static int BUTTON_RELEASE 表示觸控筆抬起一個按鈕。
static int FIRST_BUTTON 指示觸控筆事件中的按鈕狀態(tài)更改。
static int NONE 表示手寫筆不對屏幕進行任何操作。
static int NONE_BUTTON 指示觸控筆事件中沒有按鈕狀態(tài)更改。
static int STYLUS_DOWN 表示觸控筆按在屏幕上。
static int STYLUS_MOVE 表示觸控筆在屏幕上滑動。
static int STYLUS_UP 表示觸控筆從屏幕上抬起。
從類 ohos.multimodalinput.event.ManipulationEvent 繼承的字段
PHASE_CANCEL, PHASE_COMPLETED, PHASE_MOVE, PHASE_NONE, PHASE_START
從類 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ù) 描述
StylusEvent()

方法總結(jié)

修飾符和類型 方法 描述
abstract int getAction() 獲取觸控筆動作。
abstract int getButtons() 獲取手寫筆的按鈕狀態(tài)變化。
從類 ohos.multimodalinput.event.ManipulationEvent 繼承的方法
getForce, getPhase, getPointerCount, getPointerId, getPointerPosition, getPointerScreenPosition, getRadius, getStartTime, setScreenOffset
從類 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

字段詳細信息

BUTTON_PRESS

public static final int BUTTON_PRESS

表示觸控筆按下按鈕。

Since:

5

BUTTON_RELEASE

public static final int BUTTON_RELEASE

表示觸控筆抬起一個按鈕。

Since:

5

FIRST_BUTTON

public static final int FIRST_BUTTON

指示觸控筆事件中的按鈕狀態(tài)更改。

Since:

5

NONE

public static final int NONE

表示手寫筆不對屏幕進行任何操作。

Since:

5

NONE_BUTTON

public static final int NONE_BUTTON

指示觸控筆事件中沒有按鈕狀態(tài)更改。

Since:

5

STYLUS_DOWN

public static final int STYLUS_DOWN

表示觸控筆按在屏幕上。

Since:

5

STYLUS_MOVE

public static final int STYLUS_MOVE

表示觸控筆在屏幕上滑動。

Since:

5

STYLUS_UP

public static final int STYLUS_UP

表示觸控筆從屏幕上抬起。

Since:

5

構(gòu)造函數(shù)詳細信息

StylusEvent

public StylusEvent()

方法詳情

getAction

public abstract int getAction()

獲取觸控筆動作。

返回:

返回觸控筆動作。 返回值可以是 BUTTON_PRESS、BUTTON_RELEASE、STYLUS_DOWN、STYLUS_MOVE 或 STYLUS_UP。

Since:

5

getButtons

public abstract int getButtons()

獲取手寫筆的按鈕狀態(tài)變化。

返回:

返回手寫筆的按鈕狀態(tài)更改。 返回值可以是 FIRST_BUTTON 或 NONE_BUTTON。

Since:

5


網(wǎng)站題目:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSStylusEvent
文章位置:http://www.5511xx.com/article/dphcpdh.html