StandardizedEventHandlepublic interface CommonEventHandle extends StandardizedEventHandle
Common events include the actions of showing a menu, sending, copying, pasting, cutting, undoing, refreshing, starting dragging, canceling, confirming, moving, going to the previous or next element, printing, and going back.
StandardizedEventHandleSystemCapability.MultimodalInput#MULTIMODAL_INPUT| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onBack(MultimodalEvent multimodalEvent) |
Called when a returning event occurs.
|
boolean |
onCancel(MultimodalEvent multimodalEvent) |
Called when a canceling event occurs.
|
boolean |
onCopy(MultimodalEvent multimodalEvent) |
Called when a copying event occurs.
|
boolean |
onCut(MultimodalEvent multimodalEvent) |
Called when a cutting event occurs.
|
boolean |
onEnter(MultimodalEvent multimodalEvent) |
Called when a confirming event occurs.
|
boolean |
onNext(MultimodalEvent multimodalEvent) |
Called when the event of going to the next element occurs.
|
boolean |
onPaste(MultimodalEvent multimodalEvent) |
Called when a pasting event occurs.
|
boolean |
onPrevious(MultimodalEvent multimodalEvent) |
Called when the event of going to the previous element occurs.
|
boolean |
onPrint(MultimodalEvent multimodalEvent) |
Called when a printing event occurs.
|
boolean |
onRefresh(MultimodalEvent multimodalEvent) |
Called when a refreshing event occurs.
|
boolean |
onSend(MultimodalEvent multimodalEvent) |
Called when a sending event occurs.
|
boolean |
onShowMenu(MultimodalEvent multimodalEvent) |
Called when a menu is shown.
|
boolean |
onStartDrag(MultimodalEvent multimodalEvent) |
Called when dragging is started.
|
boolean |
onUndo(MultimodalEvent multimodalEvent) |
Called when an undoing event occurs.
|
boolean onShowMenu(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the intent of showing a
menu.true if the event is handled; returns false otherwise.boolean onSend(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the sending intent.true if the event is handled; returns false otherwise.boolean onCopy(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the copying intent.true if the event is handled; returns false otherwise.onPaste(MultimodalEvent multimodalEvent)boolean onPaste(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the pasting intent.true if the event is handled; returns false otherwise.onCut(MultimodalEvent multimodalEvent),
onCopy(MultimodalEvent multimodalEvent)boolean onCut(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the cutting intent.true if the event is handled; returns false otherwise.onPaste(MultimodalEvent multimodalEvent)boolean onUndo(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the undoing intent.true if the event is handled; returns false otherwise.boolean onRefresh(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the refreshing intent.true if the event is handled; returns false otherwise.boolean onStartDrag(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the intent of starting
dragging.true if the event is handled; returns false otherwise.boolean onCancel(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the canceling intent.true if the event is handled; returns false otherwise.onEnter(MultimodalEvent multimodalEvent)boolean onEnter(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the confirming intent.true if the event is handled; returns false otherwise.onCancel(MultimodalEvent multimodalEvent)boolean onPrevious(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the intent of going to the
previous element.true if the event is handled; returns false otherwise.onNext(MultimodalEvent multimodalEvent)boolean onNext(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the intent of going to the
next element.true if the event is handled; returns false otherwise.onPrevious(MultimodalEvent multimodalEvent)boolean onBack(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the returning intent.true if the event is handled; returns false otherwise.boolean onPrint(MultimodalEvent multimodalEvent)
multimodalEvent - Indicates the multimodal input event information that contains the printing intent.true if the event is handled; returns false otherwise.