ClickRichStyle.@Deprecated public static interface RichText.TouchEventListener
The callback defined in this interface will be invoked before the component receives the touch event. The granularity of touch events is smaller than that of click events.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onTouchEvent(Component component,
TouchEvent event) |
已过时。
|
@Deprecated boolean onTouchEvent(Component component, TouchEvent event)
component - Indicates the component bound to the rich text paragraph.event - Indicates all information about the touch event.true if this event has been and will not be passed further;
returns false otherwise.